LinuxCommandLibrary

trash-cli

cli to the freedesktop.org trashcan

TLDR

Trash files and directories

$ trash-put [filename]
copy


Empty the trashcan
$ trash-empty
copy


List trashed files
$ trash-list
copy


Restore a trashed file by choosing a number from the list that results from this command
$ trash-restore
copy


Remove individual files from the trashcan
$ trash-rm [filename]
copy

Copied to clipboard