Command Line Interface Specification Windows
7
/input <file>
This option specifies that the list of files to be deleted must be read from the given file. This option
may be useful if a large number of files needs to be removed. The input file must be structured
as follows:
<version> <path>
<version> <path>
…
Where <version> is one of all, last or a number (see the -version command line option for more
information), and <path> is the full path to a file or folder that must be deleted. Please note that
the -input command line option is mutually exclusive with a list of files specified on the command
line.
File
The name or names of files and/or directories that needs to be deleted. The name should contain
the whole path where the directory or file is located. The server will stop the operation if the user
tries to delete a file or directory which is not located on the server.
6.2 Output
As output, the delete command will print the list of deleted files or folders on standard output,
one line for each file (full path will be shown). When the delete completed successfully, it will print
‘delete completed successfully’ and exit with a status value of 0. If during the delete problems are
encountered an appropriate notification must be printed to standard error. If an error was
encountered during the delete, a detailed error message must be printed to standard error and
the client must exit with an appropriate exit value according to the following list:
Value
Meaning
0
Completed successfully
1
Command line error or unknown error
3
Completed successfully with not found resources