Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Nov 2006 13:29:17 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "J. R. Lenz" <ralf@starshadow.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: useful shell script
Message-ID:  <op.tiia230t9aq2h7@mezz.mezzweb.com>
In-Reply-To: <Pine.LNX.4.62.0611041231220.397@fangorn.starshadow.com>
References:  <Pine.LNX.4.62.0611041231220.397@fangorn.starshadow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 04 Nov 2006 12:40:56 -0600, J. R. Lenz <ralf@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@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org



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