Skip to content

0xMRTT/trashctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trashctl

A command line interface for trash

GPLv3 License Continuous integration Deploy Rust

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

App Screenshot

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