Re: A handy utility (at least for me)



In <200608261919.07106.mlobo@xxxxxxxxxxxxxx>, Mario Lobo <mlobo@xxxxxxxxxxxxxx> 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@xxxxxxxxx> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages