trash-cli: trash-cli (command line interface to the FreeDesktop.org trash) trash-cli: trash-cli: trash-cli trashes files recording the original path, deletion date, trash-cli: and permissions. It uses the same trashcan used by KDE, GNOME, and trash-cli: XFCE, but you can invoke it from the command line (and scripts). trash-cli: It provides these commands: trash-cli: trash-put trashes files and directories. trash-cli: trash-empty empty the trashcan(s). trash-cli: trash-list list trashed files. trash-cli: trash-restore restore a trashed file. trash-cli: trash-rm remove individual files from trash can.