Re: rh-l] RE: Large number of files in single directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 27 May 2005, Mike Wooding wrote:


--- "Burke, Thomas G." <tg.burke@xxxxxxx> 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

- Russ Herrold

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux