cec rm

Trash files or folders

Synopsis

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]

Examples

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

# Remove a single file
./cec rm common-files/target.txt

# Remove recursively inside a folder
./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

Options

  -h, --help   help for rm

Options inherited from parent commands

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

SEE ALSO

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