Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Metadata

Release files for trash-cli 0.2.1.dev-r168

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.2.1.dev-r168
File Size Uploaded Provenance Actions
trash-cli-0.2.1.dev-r168.tar.gz 39.6 kB Without provenance Details for trash-cli-0.2.1.dev-r168.tar.gz

Release files / trash-cli-0.2.1.dev-r168.tar.gz

Download URL trash-cli-0.2.1.dev-r168.tar.gz
Size 39.6 kB
Tags Source
SHA-256 checksum
How to use checksums
550e7642b1e6807d2f6eb5e2d4e0f698d9619af2e63a395dadb8de5db5e00923
BLAKE2b-256 checksum
How to use checksums
ac6740e2309acfa5e22e1f662662448d6a927b439fb729c1b865fcf35ebda4fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for trash-cli 0.2.1.dev-r168

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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