Crates.io | garbage |
lib.rs | garbage |
version | 0.4.3 |
source | src |
created_at | 2019-11-27 01:05:01.806502 |
updated_at | 2024-05-29 23:11:28.108778 |
description | CLI tool for interacting with the freedesktop trashcan |
homepage | |
repository | https://git.sr.ht/~mzhang/garbage |
max_upload_size | |
id | 184648 |
size | 136,334 |
Rust ver of trash-cli.
cargo install garbage
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
If you find a bug or are requesting a feature, file it here: https://todo.sr.ht/~mzhang/garbage
Author: Michael Zhang
License: GPLv3, see LICENSE.md for full text.