Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2000 01:27:07 -0600
From:      "Matthew D. Fuller" <fullermd@futuresouth.com>
To:        James <j@evilcode.com>
Cc:        ports@FreeBSD.ORG
Subject:   Re: cd /usr/ports; make clean
Message-ID:  <20001119012706.C3532@futuresouth.com>
In-Reply-To: <20001118231633.A85206@evilcode.com>; from j@evilcode.com on Sat, Nov 18, 2000 at 11:16:33PM -0800
References:  <200011190635.eAJ6ZRS94516@grumpy.dyndns.org> <20001118230305.A83848@evilcode.com> <20001119151138.A7434@bsdvm.jtjang.idv.tw> <20001118231633.A85206@evilcode.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[Moved to -ports, which seems a nicer place for this]

On Sat, Nov 18, 2000 at 11:16:33PM -0800, a little birdie told me
that James remarked
> On Sun, Nov 19, 2000 at 03:11:38PM +0800, Jing-Tang Keith Jang wrote:
> > On 11/18/00, James wrote:
> > > Or for a much faster solution:
> > > find /usr/ports -type d -name work -prune -print -exec rm -r {} \;
> > 
> > why not just "cd /usr/ports; rm -fr */*/work"?
> 
> If I understand it correctly, there is a limit to the maximum number
> of command line arguments that a program can have.

Fine, fine
find /usr/ports -type d -name work -prune -print | xargs rm -rf



-- 
Matthew Fuller     (MF4839)     |    fullermd@over-yonder.net
Unix Systems Administrator      |    fullermd@futuresouth.com
Specializing in FreeBSD         |    http://www.over-yonder.net/

"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001119012706.C3532>