ref: 02ba29053be29149ec4ca4f73cd375f02f2cf21b garbage/README.md -rw-r--r-- 1010 bytes
02ba2905Michael Zhang fix panic problem by not converting to utf-8 all the time 1 year, 4 months ago


builds.sr.ht status crates.io

Rust ver of trash-cli.

  • Windows/Recycle Bin not supported


cargo install garbage


Run garbage --help to understand how it's used!

$ garbage put file1 file2 ...

$ garbage restore

$ 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


  • [x] Put
  • [x] List
  • [x] Restore
  • [ ] Tests...

#Spec Compliance

  • [x] Picking a Trash Directory
  • [x] Emptying
  • [ ] Directory size cache (optional)


If you find a bug or are requesting a feature, file it here: https://todo.sr.ht/~iptq/garbage


Author: Michael Zhang

License: MIT