Simple CLI tool for removing files.
I make mistakes, but I don't want one of those mistakes to be accidentally
permanently deleting an important file. I spend much of my computer time in the
rm can be a dangerous thing. There are already tools that seek
to remedy this problem;
t is another one.
- Incorporates directory blacklist like
safe-rmto avoid deleting important system directories.
- Prompts user for confirmation before removing multiple items.
- Keeps deleted items for a configurable number of days before automatically
permanently deleting them. Permanent deletion requires the
-fflag and prompts for confirmation.
- Only deletes multiple files if no error occurs with any one of them.
usage: trash [-rf] <files>... options: -f Delete files forever. -r Recursively remove directories.
MIT - see the LICENSE file.