cec rm

Trash files or folders


Deleting specified files or folders. In fact, it moves specified files or folders to the recycle bin that is at the root of the corresponding workspace.

./cec rm [flags]


# Path
./cec rm <workspace-slug>/path/to/resource

# 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 -f --force flag (to avoid the Yes or No)
./cec rm -f common-files/file-1.txt


  -f, --force   Does not ask for user approval
  -h, --help    help for rm

Options inherited from parent commands

  -c, --config string   Path to the configuration file


  • ./cec - Connect to a Pydio Cells server using the command line
Auto generated by Cells Client v2.0.6 on 4-Jan-2021
Back to top