useful shell script

Baldur Gislason baldur at foo.is
Sat Nov 4 14:16:26 PST 2006


I just always type make install clean when I install from ports.

Baldur

On Sat, Nov 04, 2006 at 01:29:17PM -0600, Jeremy Messenger wrote:
> 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
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 



More information about the freebsd-ports mailing list