Skip to main content

Command line interface to FreeDesktop.org Trash.

Project description

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trash-cli-0.2.1.dev-r160.tar.gz (38.5 kB view details)

Uploaded Source

File details

Details for the file trash-cli-0.2.1.dev-r160.tar.gz.

File metadata

File hashes

Hashes for trash-cli-0.2.1.dev-r160.tar.gz
Algorithm Hash digest
SHA256 8e2d3bd99f67fcc72a82e3dfb27ce0dc8559490e0d7162cdb604642a84a9a0b0
MD5 190276d8f7ca555b9cb32d939ace804f
BLAKE2b-256 8372bd9b3ac955919208396066bb4ad6905d94e776ce37aa167e4bd8c2493783

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page