rh-l] RE: Large number of files in single directory
Mike Wooding
timmywooding at yahoo.com
Fri May 27 23:40:38 UTC 2005
--- R P Herrold <herrold at owlriver.com> wrote:
> On Fri, 27 May 2005, Mike Wooding wrote:
>
> >
> > --- "Burke, Thomas G." <tg.burke at ngc.com> wrote:
> >> I delete them by character... e.g. rm -rf *1.tmp, rm -rf *2.tmp,
> and
> >> so on. Don't know of any other way to do it. - although I wrote a
> >> little C program once to handle it for me.
> >
> > It's a shell limitation. There's a utility,
> > "xargs" that will help work around this.
> >
> > man xargs
>
> or, in the correct directory:
>
> find -type f -a -exec rm {} \;
>
> will work
Not as typed above: man find
He who laughs last thinks slowest.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the redhat-list
mailing list