Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2006 17:53:50 -0500
From:      "Rick C. Petty" <rick-freebsd@kiwi-computer.com>
To:        Mario Lobo <mlobo@digiart.art.br>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: A handy utility (at least for me)
Message-ID:  <20060826225350.GA20172@megan.kiwi-computer.com>
In-Reply-To: <200608261919.07106.mlobo@digiart.art.br>
References:  <200608261919.07106.mlobo@digiart.art.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 26, 2006 at 07:19:06PM -0300, Mario Lobo wrote:
> 
> My  /usr/ports directory was occuping 24 gigs, of which 20 was just from the 
> 'work' directories !
> 
> Removing them one by one was a pain so I wrote this little utility to wipe 
> them off.

I find that the following command works just fine for me:

find /usr/ports -type d -name work -prune -print -delete

=)

-- Rick C. Petty



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