Deletes files and directories that were sent to backup server.
java -jar cli.jar delete --host-name=TIM-LAPTOP --project-name=Photos --path=\\\\home\\tim\\picture --recursive --no-confirm
java -jar opero-commandline.jar delete --login=Natalia2 --password=zaq12wsx --server=http://192.168.0.199:45558 --path=D:/MC --host-name=NATALIA1 --recursive
If you have a configuration file in user's home directory, you do not need to enter the parameters: login, password, server:
java -jar opero-commandline.jar delete
If you have a configuration file in a different directory than the user's home directory, then you have to enter the parameter: config, e.g.
java -jar opero-commandline.jar delete --config=D:\CLI.conf
|[--host-name <name>]||Host name from which files have to be deleted. Default is current host.|
|[--project-name <name>]||Project name from which files have to be deleted. Default refers to all project given from host.|
|[--path <path1, path2, ...>]||Paths of files and directories that have to be deleted. The name should contain the full path where the directory of file is located. Multiple files and/or directories are separated with ','.|
|[--version <GUID1, ...>]||It is specifying which file versions have to be deleted. Multiple versions are separated with ','. If it is not given all versions will be deleted.|
|[--date <YYYY-MM-DD hh:ss:mm>]||Paths/versions created after this date will not be included.|
|[--recursive]||This argument specifies to delete files recursively from directory. If it is not given subdirectories and their files will not be deleted, only files in given folder.|
|[--no-confirm]||Action will not need confirmation.|
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).