No description
Find a file
2020-04-18 14:22:50 -05:00
.github/workflows wtf. 2019-12-26 19:10:50 -06:00
src removing -r 2020-04-18 14:22:24 -05:00
.editorconfig initial 2019-06-26 02:46:46 -05:00
.gitignore initial 2019-06-26 02:46:46 -05:00
Cargo.lock fuck 2020-04-18 14:22:50 -05:00
Cargo.toml removing -r 2020-04-18 14:22:24 -05:00
README.md update readme 2020-03-05 23:55:48 -06:00

garbage

crates.io dependency status

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