useful shell script
Jeremy Messenger
mezz7 at cox.net
Sat Nov 4 11:28:36 PST 2006
On Sat, 04 Nov 2006 12:40:56 -0600, J. R. Lenz <ralf at starshadow.com> wrote:
> Reclaiming disk space was a high priority on my laptop, which has a 4gb
> FreeBSD partition. So, I wrote a useful shell script for removing all
> the "work" directories in the ports tree (I'm sure someone has already
> done this, but it saves a little bit of time for those people who are
> not fluent in shell scripting). You'd be surprised how much disk space
> can be freed up by removing unused source code and compiled objects.
I have 'rm -rf /usr/ports/*/*/work' alias in my /etc/csh.cshrc. ;-)
Cheers,
Mezz
> Peace,
> - Ralf
<snip>
--
mezz7 at cox.net - mezz at FreeBSD.org
FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
http://wiki.freebsd.org/multimedia - multimedia at FreeBSD.org
More information about the freebsd-ports
mailing list