SLUG Mailing List Archives
Re: [SLUG] correct form of find - exec rm on RH5.2?
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] correct form of find - exec rm on RH5.2?
- From: Peter Hardy <peter@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Apr 2006 11:36:49 +1000
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.