On Tue, Jan 29, 2008 at 03:48:27PM -0900, Ken Irving wrote:

> I find find very useful, and find's -exec command as well, but someone
> always chimes in with how it's "wrong" to use it since it causes find to
> create umpteen shell processes, one for each hit, and you really should be
> piping find into xargs.

My favorite way is to use find's -printf directive to construct the complete
commands and pipe the result to a shell. Has the advantage that you first
hack away at your complete find commend and give it a dry run, and if you're
happy with what it spits out you just tack the "| sh" bit to the end.

--D.

Attachment: signature.asc
Description: Digital signature

Reply via email to