Trash-CLI

This is the Commmand Line version of the trash function available in gui. This command helps in temporary keep the file at a different location, so it gets moved to the "recycle bin".

MIT License

Downloads
134
Stars
2

Trash-it - V1.5.0

A Simple, command line utility to safely put the files/folders to the bin. (A Safer way than rm command. )

Have you ever deleted the wrong files by rm which were not backed up ? Have you felt that Panic ? That eagerness to bring back the files that have been lost ?

If yes, or no, anyways, I have a tool, which can be verry usefull to you. (can)

INSTALLATION

pip install trashit

USAGE

USAGE : trash <options> [<fileName1>,<fileName1>,<fileName1>]

Options Available :

Short Options Description
-v --version Display Version Information of Command
-h --help Display this HELP message.
-a --add Add Files to the Trash
-s --show Show all the files and folders, currently in trash.
--restore Restore some files from the Trash.
--restore-all Restore ALL the files and folders currently in trash.

EXAMPLE :

trash --help
trash --add file1.xyz file2.xyz file3.png ...

NOTE :

This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.