[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xargs & find documentation EXAMPLE suggestions

From: Andreas Metzler
Subject: Re: xargs & find documentation EXAMPLE suggestions
Date: Tue, 10 Aug 2004 08:31:21 +0200
User-agent: Mutt/1.5.6+20040722i

On 2004-08-10 Jeff Carr <address@hidden> wrote:
> It'd be really good to have some examples in the xargs man & info pages. 
> One thing I've never know the best way to do is:

> find . |grep CVS |xargs -n 1 rm -rf

delete anything that contains "CVS" in path or filename?

find . -name '*CVS*' -or -path '*/*CVS*/*' -prune -or -print0 | \
   xargs -0 rm -r

           cu and- agreeing that mre examples than the ones in
           "Cleaning Up" might be a good idea. - reas
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]