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

Corey Chandler lists at sequestered.net
Mon Jan 25 15:48:29 UTC 2010

On 1/25/10 9:33 AM, Robert Nichols wrote:
> When using the -exec action with the ";" terminator, the constructed
> command line always contains the path for exactly one matched file.
> Try it.  Run "find /usr -exec echo {} ;" and see that you get one
> path per line and output begins almost instantly.

Don't forget to backspace delimit the semicolon; the proper way to get 
data out of this example would be:

find /usr -exec echo {} \;

-- Corey / KB1JWQ

More information about the CentOS mailing list