[CentOS] The directory that I am trying to clean up is huge

Robert Nichols rnicholsNOSPAM at comcast.net
Sun Jan 24 01:21:58 UTC 2010


Robert Heller wrote:
> At Sat, 23 Jan 2010 12:43:40 +0000 CentOS mailing list <centos at centos.org> 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.



More information about the CentOS mailing list