trash - freedesktop-compliant "Trash can"
The trash project provides libraries and CLI commands that follow the freedesktop.org trash specification in golang.
"trash" cli tool
How to install
Use "go install"
If you does not have the golang development environment installed on your system, please install golang from the golang official website.
$ go install github.com/nao1215/trash@latest
Install from Package or Binary
The release page contains packages in .deb, .rpm, and .apk formats.
List of features
How to use
move file/directory to trash can
$ trash move PATH/TO/FILE
list file/directory in trash can
$ trash list
restore file/directory in trash can
$ trash restore FILE_NAME
erase file/directory in trash can
$ trash erase FILE_NAME
"trash" Library
How to use
TODO:
Contributing
First off, thanks for taking the time to contribute!
Contact
If you would like to send comments such as "find a bug" or "request for additional features" to the developer, please use one of the following contacts.
LICENSE
The trash project is licensed under the terms of MIT License.