Re: [newbie] mass multiple file erasure
You might try this one: rm -rvf *.rpm that should take out ever RPM file in the dir that you're issuing the command and the one's underneath. -- Mark I love my Linux Box... My Linux Box Rocks! On Sat, 17 Jun 2000, Vic wrote: > Date: Sat, 17 Jun 2000 12:27:18 -0500 > From: Vic <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: [newbie] mass multiple file erasure > > What would I type in to get linux to > erase every single *.rpmorig file > on the drive or at least under the > dir I am currently in (including the > subdirs) I already know 'rm *.rpmorig' > but it wont erase the files in other dirs > under me. > > + >
Re: [newbie] mass multiple file erasure
On Sat, 17 Jun 2000, Vic wrote: > What would I type in to get linux to > erase every single *.rpmorig file > on the drive or at least under the > dir I am currently in (including the > subdirs) I already know 'rm *.rpmorig' > but it wont erase the files in other dirs > under me. In the current dir : find . -name "*.rpmorig" -exec rm -f {} \; To erase all the *.rpmorig in your system, replace the "." by a "/" HTH Flupke -- << There's no place like ~ ! >>
[newbie] mass multiple file erasure
What would I type in to get linux to erase every single *.rpmorig file on the drive or at least under the dir I am currently in (including the subdirs) I already know 'rm *.rpmorig' but it wont erase the files in other dirs under me. +