https://github.com/fluffynuts/trash
A small utility written in Rust to quickly trash files or dirs
https://github.com/fluffynuts/trash
Last synced: 11 days ago
JSON representation
A small utility written in Rust to quickly trash files or dirs
- Host: GitHub
- URL: https://github.com/fluffynuts/trash
- Owner: fluffynuts
- License: bsd-3-clause
- Created: 2020-05-11T13:15:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-20T10:14:54.000Z (about 6 years ago)
- Last Synced: 2025-02-24T11:17:27.438Z (over 1 year ago)
- Language: Rust
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# trash
A small utility written in Rust to quickly trash files or dirs
# WARNING
This will trash whatever paths it's given, no hesitation, no feedback
# Why?
Because `rm -rf node_modules` on a windows box takes approximately forever. This doesn't.
Also, I wanted to learn some Rust, and I learn by doing -- so I've made something I can
use and gained a little Rust XP. Win-Win.
side-notes:
- in `cmd` `del /q /f /r` also takes forever -- probably because of too much feedback
- in `pwsh` `del -r` takes about the same time, so that's nice (:
# How to use?
`trash.exe {path1} ... {path2 ..}`
# What does it trash?
Files, dirs, globs that match stuff.
# ALL MAH SHIT IS GONE, YO!
I warned you above. Use at your own peril. This util has no safety measures. If
the file / folder _can_ be deleted, it _will_ be deleted.