trashf
CLI tool to safely remove any file and directory by putting them in the trash
Move any file or directory in the trash in a clever and safe way when wanting to remove them. If a file or folder with the same name already exist in the trash, the file or folder to be removed will be renamed with the date before to be moved to the trash (fname + "%Y_%m_%d-%H_%M_%S").
Installation
With pip:
sudo pip3 install trashf
With yay:
yay -a trashf
With yaourt:
yaourt -a trashf
Compatibility
python >= 3
Usage
trashf / rt [F_PATH_01 F_PATH_02 ...]
options:
-h, --help show this help message and exit
Examples
For help:
trashf -h
or
rt --help
Move in the trash ($HOME/.local/share/Trash/files) files and folders:
trashf titi/ toto.jpg
Metadata
Release files for trashf 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| trashf-1.0.3.tar.gz | 3.8 kB | Without provenance | Details for trashf-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trashf-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for trashf-1.0.3-py3-none-any.whl |
Total release size: 8.3 kB
Release files / trashf-1.0.3.tar.gz
| Download URL | trashf-1.0.3.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0adb2d9129f753f1f9984a5934755802094ca88d219088c2dc142b7c43ff37dd
|
|
BLAKE2b-256 checksum How to use checksums |
4e71c79d39596f00d3d2b478888914af4646edf996963adb70047475eca3bf9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
|
Release files / trashf-1.0.3-py3-none-any.whl
| Download URL | trashf-1.0.3-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42073a8b6e276c835ade11d2e5150940456cb057d5f3e2cf667bbf8c6c1d4000
|
|
BLAKE2b-256 checksum How to use checksums |
5126dbb6d22b7bc444f68f919c7e01977ebeff71c8ae596b42fd1e31d409ab5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
|
Security for trashf 1.0.3
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.