Command Line Interface Specification Linux Mac

6
An optional parameter specifying which version of a file has to be deleted. There are 3 possible
values for this parameter:
Version all: specifies that all versions of the file have to be deleted.
Version last: specifies that the last version of a file has to be deleted.
Version <number>: specifies that the defined version has to be deleted.
When version is not specified -version all is assumed.
-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 need 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 file....
This is the name or names of files and/or directories that need 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.
4.2 Output
As output, the delete command will print the list of deleted files or folders on standard output,
one line for each file (the 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 an error is encountered