CmdID

CmdID / Commands

trash

Manage the trashcan/recycling bin. tldr-pages

On Linux, macOS

Opens CmdID with your command. It is read in your browser and sent nowhere.

Send a file to the trash

trash path/to/fileIdentify

List all files in the trash

trash-listIdentify

Interactively restore a file from the trash

trash-restoreIdentify

Empty the trash

trash-emptyIdentify

Permanently delete all files in the trash which are older than 10 days

trash-empty 10Identify

Remove all files in the trash, which match a specific glob pattern

trash-rm "*.o"Identify

Remove all files with a specific original location

trash-rm /path/to/file_or_directoryIdentify

Move files and directories to the user trash folder.

Move a file to the trash

trash path/to/fileIdentify

Move multiple items or directories to the trash

trash path/to/file_or_directory1 path/to/file_or_directory2 ...Identify

Move files to the trash with verbose output

trash --verbose path/to/file1 path/to/file2 ...Identify

Display help

trash --helpIdentify