trashctl

A command line interface for trash written in Rust (WIP)

GPL-3.0 License

Stars
2
Committers
2

trashctl

A command line interface for trash

Features

  • Add file to trash
  • List files
  • Permanently delete a file
  • Restore file
  • Empty the trash

Documentation

If you want a complete documentation, see the doc on docs.rs. Otherwise, read the book

Screenshots

Installation

Install with cargo

cargo install trashctl

AUR

Install from the AUR

yay -S trashctl

Install from source

For this, you need git and rustup

git clone https://github.com/0xMRTT/trashctl
cd trashctl
cargo b
./target/debug/trashctl

Use github releases

Download binaries on the releases page (in the right pane)

Usage/Examples

TODO

trashctl put foo

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

Please adhere to this project's CODE_OF_CONDUCT.

Running Tests

To run tests, run the following command

cargo test

Feedback

If you have any feedback, please open an discussion.

Support

For support, open an discussion or join the matrix channel.

FAQ

What can I do if y accidently empty my trash ?

Stop using your system. Boot into a live cd and use tools like photo rec

Authors and contributors

Tech Stack

cli: clap, clap_complete

Related

Here are some related projects

trash-cli

Acknowledgements

License

GPLv3