Command Line Interface Specification Linux Mac
7
during the delete, an appropriate error message will be printed to standard error and the client
will exit with a status value of 1.
5. Dir
This command makes it possible to display one or multiple directories on the BackupAgent
Server. It is even possible to see if this file exists by using this command:
Java -jar cli.jar dir -login <login name> -pass <password>
-server <server address> [-r[:<depth>]] [-l|-s] <file>
5.1 Arguments explained
-login <login name>
This is the user login name of the user. See the backup command for more information.
-pass <password>
This is the password of a user. See the backup command for more information.
-key <key>
This is the encryption key of the user. See the backup command for more information.
-r [:depth]
This option request a recursive list of the content of the defined file. This option would be only
efficient when the defined file represents a directory. The optional number specifies the
maximum recursion depth. For example, a value of 1 specifies a listing of the specified folder
only, a value of 2 specifies that the listing may be two levels deep. Please note that the recursive
directory listing will always result in full paths to be listed on the output. If this option is not
specified a non-recursive listing of the specified folder or file will be returned.
-l