Skip to content
Run your `rm -r *` commands with comfort and confidence
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
rmsafe.sh

README.md

rmsafe

Run your rm -r * commands with comfort and confidence

rmsafe replaces rm -rf and not only it ever complains about permissions and stuff like that, but also it acts as an archive too.

rmsafe is technically a Recycle Bin for bash. It tells you where it put things and you can immidicately recover them if deletion was not intended.

Usage

cd /path/to/a/sensitive/directory
rmsafe *
You can’t perform that action at this time.