autoconf
[Top][All Lists]
Advanced

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

Re: Please help


From: Harlan Stenn
Subject: Re: Please help
Date: Fri, 26 Oct 2007 21:06:57 +0000

Andreas wrote:
> Harlan Stenn <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]