News for hackers. Stuff that matters.
Re:How do I prevent accidental rm -rf /*? by LeafStorm on Saturday December 03, 2011 @08:20PM (#3309506)
Because of the inherent dangers in -f, I rarely use it...with one major exception. Whenever I am trying to delete a directory with a git repository in it, the fact that a lot of the things in the .git directory are write-protected means that I have to either punch Y for what is likely dozens of files, or use -f (or some other incredibly ridiculous and equally dangerous thing like "yes | rm").
Re:How do I prevent accidental rm -rf /*? by smosher on Saturday December 03, 2011 @09:07PM (#3309612)
Same here, my #1 reason for supplying -f is also to kill a git repo.