4 ms·
I use the safe-rm (http://freshmeat.net/projects/safe-rm http://freshmeat.net/projects/safe-rm) package to help me avoid doing this kind of thing.
by jefffoster 15y ago
I use the safe-rm (http://freshmeat.net/projects/safe-rm http://freshmeat.net/projects/safe-rm) package to help me avoid doing this kind of thing.
- troutwine 15y agoDo you not find that a lack of wide installation limits its usefulness?
- mikemaccana 15y agoYou can use GNU remove, which lets you put arguments last for safety, on any Linux box: Eg: rm /whatever -rf Ie, if you hit enter too early, you still haven't forced. I've been using Linux for 14 years and have never accidentally rm'd recursively. I'm not sure when they added it, but I've been using it for a very long time.
- jefffoster 15y agoI just use it for my boxes. It doesn't stop me putting something silly in a make file (as in the example here), but it does stop me getting burnt by it.
- troutwine 15y agoI see; thank you.
- sbierwagen 15y agoNeat. I just installed that on my machines.
- deleted 15y ago[deleted]