help with command line deletion (the OP weighs in again)
David Herren
david at idiomatrix.com
Thu Apr 19 10:39:08 PDT 2007
On Apr 19, 2007, at 5:19 PM, Norman Gray wrote:
> Thus returning to the OP's question, yes, the various suggestions
> about which 'find' options would solve his problem were manifestly
> correct and informative, but the subtleties involved in getting the
> pipe+xargs technique correct (ie, -0) are additionally useful for
> other cases where you'd want to do something to a long list of files.
>
> It's a `teach a man to fish...' remark. Which are key techniques,
> and which are wrinkles?
As the OP, I just wanted to once again say thanks for the help from
everyone. I always keep interesting/useful discussions like this as
references for later, and since I didn't even know about xargs at
all, I'm off to read the man pages on that (or perhaps even to
experiment with manopen/opeman that I've also just learned about...).
This has been so useful, I hesitate to add this footnote. I have
asked questions on this list in the past. This was the most
successful and fruitful result ever. I wish all questions were dealt
with so healthily and usefully--in the past I have been (and have
seen others berated) for my (their) ignorance. I just want to say
thanks for helping me learn something this time.
/david
--
david herren - shoreham, vt us na terra solsys orionarm
"And there's no doubt in my mind, not one doubt in my mind, that we
will fail."
-George W. Bush, Washington, DC, Oct 4, 2001
http://www.bushorchimp.com/
More information about the MacOSX-admin
mailing list