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

2010-01-25 Thread James B. Byrne
On Sat, January 23, 2010 20:21, Robert Nichols wrote: Robert Heller wrote: 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. Not wrong,

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

2010-01-25 Thread Robert Nichols
James B. Byrne wrote: On Sat, January 23, 2010 20:21, Robert Nichols wrote: Robert Heller wrote: 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

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

2010-01-25 Thread Corey Chandler
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.

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

2010-01-25 Thread Ross Walker
On Jan 25, 2010, at 10:48 AM, Corey Chandler li...@sequestered.net wrote: 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 {} ;