On Sat, 15 Jan 2005, Matt Wilson wrote:

> I'm always a little confused as to why people always jump to suggest the
> use of xargs when find's -exec works perfectly well;

find executes a fork of the -exec for every file in the list.

however, xargs only forks the command once for every batch of "maxargs".

when you're dealing with thousands of files, the speed increase of 32,000
forks verses one fork is a lot.


--
gentoo-user@gentoo.org mailing list

Reply via email to