SudhagarS/rm-v2
Rm-v2 overrides the system 'rm' program with a better version. Rm-v2 doesn't delete files immediately. Instead the files are kept in ~/.rm-bin directory and can be restored if required. With this, you don't have to worry about running 'rm -rf' on a important directory. You can restore the last removed file/directory with 'rm --undo'.
2 best points · 2 comments · 1 Hacker News post · 6 GitHub stars · View on GitHub
Hacker News discussions
- A better 'rm' command and no more 'rm -rf' nightmares. (2 points, 2 comments, by headshot, 2016-04-21)