Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Safely move files into a trash can instead of `rm`.

Project description

Safely move files into a trash can instead of rm.

OS Independent, as long as your OS supports Python’s pathlib and shutil.

Now living on Github

Detailed usage

$ trash --help
usage: [-h] [--trash-dir TRASH_DIR]
                   [trash_files [trash_files ...]]

see the real --help for more

Why do we need another trash utility?

This is mostly for self-educational purposes.

If you actually want a trash utility, see trash-cli which implements the xdg trash specification, so it will play nicely with your Desktop’s trash and other tools. It also features more utilities, such as recover.


Project details

Download files

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

Files for yatrash, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size yatrash-0.1.2.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page