On Thu, 2006-04-13 at 11:27 +1000, Peter Rundle wrote: > Incidently the last time the -exec vs xargs came up the -exec script > given worked, the xargs didn't. Then when this was pointed out the reply > was "well it was only an example" I.E a polite way of saying go RTFM. > For my money, I'll take the slower simpler but working example every time.
Maybe it's just me, but I find piping to xargs simpler than grappling with quoting shenanigans on a find -exec command line. But then, I was using xargs long before I even found out that find had an -exec. Horses for courses, I suppose. -- Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
