[oclug] WEIRD!!
Jon Earle
je_oclug at kronos.honk.org
Fri Apr 16 14:59:35 EDT 2004
On Fri, 16 Apr 2004, Raj wrote:
> On Fri, 16 Apr 2004, Matthew Wilcox wrote:
>
> > On Fri, Apr 16, 2004 at 02:30:48PM -0400, Jon Earle wrote:
> > > Anyone have any idea what caused these things to appear? And how can I
> > > (easily) delete 270k files... rm mgetty* says the arg list is too long!
> >
> > for i in mgetty*; do rm $i; done should do the trick. it will take a while
> > though. a better alternative would probably be:
> >
> > echo mgetty* | xargs rm
>
> my preferred way is
>
> find mgetty* -exec rm {} \;
find complained of too many args. :)
I've executed Mathew's loop suggestion... it's not yet returned, so I
presume it's working. :)
Thank you for your thoughts!
--
Jon Earle
Software Developer / Network Manager
Specializing in Open Source Software Solutions
http://kronos.honk.org/~earlej/
More information about the OCLUG
mailing list