nao1215 / trash

trash - [WIP]freedesktop-compliant "Trash can" library and CLI commands written in golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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! ❤️ See CONTRIBUTING.md for more information. Contributions are not only related to development. For example, GitHub Star motivates me to develop!

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.

About

trash - [WIP]freedesktop-compliant "Trash can" library and CLI commands written in golang

License:MIT License


Languages

Language:Go 91.7%Language:Makefile 8.3%