Hi all Sorry for the simple question, I want to remove all files ending in .bak I can find these using find . -name *.bak Now whats the easiest and safest way to delete them? I ask only because I don't want to delete anything I need ;) Many thanks Paul -- 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
On Wed, 6 Sep 2000, Paul Hampton wrote: ph> Hi all ph> ph> Sorry for the simple question, I want to remove all files ending in .bak ph> ph> I can find these using ph> find . -name *.bak ph> ph> Now whats the easiest and safest way to delete them? I ask only because I ph> don't want to delete anything I need ;) ph> I tend to use the following for just such an occasion find . -name "*.bak" -exec rm -f {} \; which does the job quite nicely. ph> Many thanks ph> Paul ph> ph> ph> -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v6.4+ - Kernel 2.2.16 Disc space -- the final frontier! -- 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
participants (2)
-
paul.hampton@surfeu.com
-
tomas@primenet.com