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

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



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

_______________________________________________
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