Skip to main content

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

Release files for trash-cli 0.11.3-r315

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trash-cli 0.11.3-r315
File Size Uploaded
trash-cli-0.11.3-r315.tar.gz 51.2 kB Details

Release files / trash-cli-0.11.3-r315.tar.gz

Download URL trash-cli-0.11.3-r315.tar.gz
Size 51.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0af1ffb76d8677eabf2364b5b28b5c7af5af5f2a6a3906537fa3ce497977448f
BLAKE2b-256 checksum
How to use checksums
a603d23ccf19a94fe7d4b71ff3edd093f2fba51851467bd824774f191b0d76c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.12.7

1 release file

0.12.6

1 release file

0.12.4

1 release file

This release

0.11.3-r315 This release

1 release file

0.11.2

1 release file

0.11.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page