Skip to content
/ trashf Public

CLI tool to safely remove any file and directory by putting them in the trash

License

Notifications You must be signed in to change notification settings

yoarch/trashf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

CLI tool to safely remove any file and directory by putting them in the trash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages