No description
.github/workflows | ||
src | ||
.editorconfig | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
garbage
Rust ver of trash-cli.
- Windows/Recycle Bin not supported
Installation
cargo install garbage
Usage
Run 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
Features
- Put
- List
- Restore
- Tests...
Spec Compliance
- Picking a Trash Directory
- Emptying
- Directory size cache
About
Author: Michael Zhang
License: MIT