Re: Please help

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

 



Andreas wrote:
> Harlan Stenn <stenn@xxxxxxx> writes:
> >> Bob Proulx wrote:
> >>   find . -type f -exec touch --reference . {} +
> >
> > I thought xargs was *significantly* faster than exec.
> 
> Note the trailing '+'.  This makes it essentially equivalent to the
> above use with xargs, and even faster than that.

Cool - I missed that.  How far back is that available?  I still get to
deal with some fairly ancient installations...

> > And I haven't looked to see if '-exec ... {}' is "safe" for filename
> > characters the same way -print0 ... is.
> 
> There is no shell involved in -exec, so it is safe for every filename.

great - thanks!

H


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux