7

Safe rm command

view full story
linux-howto

http://www.unix.com – I would like to do a safe file removal Naturally, the command Code: rm -f /dir/* creates problem. I want to modify the command such that it does not delete files with extensions .f, .c, .h, .par, .com (HowTos)