A handy utility (at least for me)

Mike Meyer mwm-keyword-freebsdhackers2.e313df at mired.org
Sat Aug 26 23:53:28 UTC 2006


In <200608261919.07106.mlobo at digiart.art.br>, Mario Lobo <mlobo at 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 at mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


More information about the freebsd-hackers mailing list