Harlan Stenn <stenn@xxxxxxx> writes: > Bob, > >> Bob Proulx wrote: >> > find . -type f -print0 | xargs -r0 touch --reference . >> > make clean >> > make >> >> That was cut from an old saved message. I will update it to the >> current find use avoiding the -print0 and say that I should have said >> this instead: >> >> 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. > 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. Andreas. -- Andreas Schwab, SuSE Labs, schwab@xxxxxxx SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf