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
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 | |
|---|---|---|---|
| trashf-1.0.3.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trashf-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
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
|