skip to navigation
skip to content

trash-cli 0.11.3-r315

Command line interface to FreeDesktop.org Trash.

Downloads ↓

trash-cli - Command Line Interface to FreeDesktop.org Trash.

trash-cli provides the following commands to manage the trash:
  • trash-put trashes files and directories.
  • trash-empty empty the trashcan(s).
  • trash-list list trashed file.
  • trash-restore restore a trashed file.

For each file the name, original path, deletion date, and permissions are recorded. The trash command allow trash multiple files with the same name. These command uses the same Trashcan of last versions of KDE, GNOME and XFCE.

Trash a file:

$ trash-put /home/andrea/foobar

List trashed files:

$ trash-list
2008-06-01 10:30:48 /home/andrea/bar
2008-06-02 21:50:41 /home/andrea/bar
2008-06-23 21:50:49 /home/andrea/foo

Restore a trashed file:

$ trash-restore /home/andrea/foo

Empty the trashcan:

$ trash-empty
 
File Type Py Version Uploaded on Size # downloads
trash-cli-0.11.3-r315.tar.gz (md5) Source 2010-08-15 50KB 684