Re: The directory that I am trying to clean up is huge

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



Robert Heller wrote:
> At Sat, 23 Jan 2010 12:43:40 +0000 CentOS mailing list <centos@xxxxxxxxxx> wrote:
> 
>> Just curious. What is the difference between the command above and "find 
>> <numble> -exec rm -f {} \;" ?
> 
> The command "find <mumble> -exec rm -f {} \;" collects ALL of the names
> "find <numble>" as a single command line, which in your case is too
> large for the shell to deal with.

Gosh, then I guess the manpage for 'find' must be totally wrong where it
says:

        -exec command ;
               ...
               The specified command is run once for each matched file.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux