Rust ver of trash-cli.
cargo install garbage
garbage --help to understand how it's used!
$ garbage put file1 file2 ... $ garbage restore [..interactive] $ garbage list $ garbage empty [days]
If you use a bash-ish shell, feel free to add this to your shell's rc file:
alias rm='garbage put' # Make sure garbage is in your path
If you find a bug or are requesting a feature, file it here: https://todo.sr.ht/~iptq/garbage
Author: Michael Zhang