garbage

Crates.iogarbage
lib.rsgarbage
version0.4.3
sourcesrc
created_at2019-11-27 01:05:01.806502
updated_at2024-05-29 23:11:28.108778
descriptionCLI tool for interacting with the freedesktop trashcan
homepage
repositoryhttps://git.sr.ht/~mzhang/garbage
max_upload_size
id184648
size136,334
michael (iptq)

documentation

README

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/~mzhang/garbage

About

Author: Michael Zhang

License: GPLv3, see LICENSE.md for full text.

Commit count: 0

cargo fmt