No description
Find a file
2021-12-30 22:37:02 -06:00
src Upgrade dependencies and add git hash to version 2021-12-30 22:37:02 -06:00
tests testing around with proot 2021-09-05 22:40:22 -05:00
.build.yml change to archlinux images cus musl doesn't support proc-macros 2020-05-27 20:15:23 -05:00
.drone.yml a 2021-09-07 05:40:56 -05:00
.editorconfig testing around with proot 2021-09-05 22:40:22 -05:00
.gitignore Introduce nix into the project 2021-09-05 04:13:41 -05:00
build.rs Upgrade dependencies and add git hash to version 2021-12-30 22:37:02 -06:00
Cargo.lock Upgrade dependencies and add git hash to version 2021-12-30 22:37:02 -06:00
Cargo.nix Introduce nix into the project 2021-09-05 04:13:41 -05:00
Cargo.toml Upgrade dependencies and add git hash to version 2021-12-30 22:37:02 -06:00
flake.lock Introduce nix into the project 2021-09-05 04:13:41 -05:00
flake.nix testing around with proot 2021-09-05 22:40:22 -05:00
LICENSE update readme + license 2020-05-27 16:37:12 -05:00
README.md replace build badge 2021-09-07 06:28:07 -05:00
rustfmt.toml Format code using max_width = 80 + wrap_comments = true 2020-10-31 19:56:51 -05:00

garbage

Build Status crates.io

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 (optional)

Issues

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

About

Author: Michael Zhang

License: GPLv3