3 stable releases

1.0.2 Mar 11, 2024
1.0.1 Mar 10, 2024

#390 in Filesystem

Download history 17/week @ 2024-09-22 3/week @ 2024-09-29

75 downloads per month

MIT license

8KB
108 lines

trash_dumper

GitHub license

simple trash file dumper

Install

cargo install trash_dumper

How to use

It's simple to use. For example, the command below creates three trash files of 10 MB in size.

trash_dumper dump -s 10m -c 3
  1. 5 = 5 byte
  2. 5k = 5 kb
  3. 5m = 5 mb
  4. 5g = 5 gb

Cleaning your trash is also simple. When you use the clean command, all files with the .trashfile extension are deleted.

trash_dumper clean

Dependencies

~1.7–3MB
~52K SLoC