xargs still nok?
Eric Blake
ericblake@comcast.net
Thu Sep 8 16:27:00 GMT 2005
> thnx everybody for xargs tutorial (bit of a strange beast xargs!).
> Here's the crux of the matter ISFAIUI
>
> if you want to pipe the o/p of find then xargs will 'regulate' the flow of
> filenames
>
> if you use the -exec method that is inherently on a per file basis so does not
> require xargs but
> with a speed penalty for a large number of files
You missed a point - the relatively new POSIX-mandated find
`-exec utility {} +' form does the same thing as basic xargs, and
with one less process, so it is even faster than piping find to xargs.
--
Eric Blake
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list