Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2006 19:53:13 -0400
From:      Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>
To:        Mario Lobo <mlobo@digiart.art.br>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: A handy utility (at least for me)
Message-ID:  <17648.57065.350733.312979@bhuda.mired.org>
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
In <200608261919.07106.mlobo@digiart.art.br>, Mario Lobo <mlobo@digiart.art.br> typed:
> Hi;
> 
> 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.

Setting WORDIRPREFIX in /etc/make.conf will cause all the 'work'
directories to be put in that directory. While cleaning them up wasn't
my reason for doing that (I shared /usr/ports across several
platforms), it sures makes cleaing up the work directories easy.

Ditto for DISTDIR, if you want to clean up distfiles.

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



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