cec rm
Trash files or folders
Synopsis¶
DESCRIPTION
Delete specified files or folders.
By default, we only move specified files or folders to the recycle bin that is at the root of the corresponding workspace. The trashed items can be then restored from the web UI (this feature is not yet implemented in the Cells Client). Use the 'permanently' flag to skip the recycle and definitively remove the corresponding items.
EXAMPLES
# Generic example:
./cec rm
# Remove a single file: ./cec rm common-files/target.txt
# Remove recursively inside a folder, the wildcard is '%': ./cec rm common-files/folder/%
# Remove a folder and all its children (even if it is not empty) ./cec rm common-files/folder
# Remove multiple files ./cec rm common-files/file-1.txt common-files/file-2.txt
# You can force the deletion with the '--force' flag (to avoid the Yes or No) ./cec rm -f common-files/file-1.txt
# Skip the recycle and permanently remove a file ./cec rm -p common-files/file-1.txt
# DANGER: directly and permanently remove a folder and all its children ./cec rm -pf common-files/folder
Options¶
Options inherited from parent commands¶
SEE ALSO¶
- ./cec - Connect to a Pydio Cells server using the command line
Auto generated by Cells Client v4.2.1 on 4-Nov-2024