8 Sep
2000
8 Sep
'00
02:02
Graham Paul tapped away at the keyboard with:
You should quote the *.bak to stop the * being expanded by the shell
If you're sure you want to remove ALL .bak files without confirmation, pipe the output to xargs
find . -name "*.bak" -print | xargs rm -f
Although that's efficient, it's not entirely secure, especially when you have spaces in filenames. find . -name \*.bak -type f -exec rm -f {} \; will do the job safely. -- Bernd Felsche - Innovative Reckoning Perth, Western Australia -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq