begin quoting Michael O'Keefe as of Tue, Mar 07, 2006 at 02:45:51PM -0800:
[snip]
> No, xargs takes from stdin a list and builds the argv[] for it's command.
> So worst case scenario it will wait for 1023 "lines" of input (without
> the minus-ell flag) before doing it's fork()
> This can of course take a LONG time to accumulate if you are walking
> many NFS mounts. But if you use a suitable minus-ell flag, it will still
> be faster than -exec
If I need a find to look inside of files, I'll not-that-infrequently end
up using multiple "-exec grep -iq string {} \;" phrases, sometimes
with some of 'em negated. (I only rarely use "-o", on the other hand.)
I have no idea how to go about making that sort of thing work with
xargs. Suggestions?
--
_ |\_
\|
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list