Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Nov 2006 11:03:42 -0800
From:      freebsd@bitfreak.org
To:        "J. R. Lenz" <ralf@starshadow.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: useful shell script
Message-ID:  <454CE40E.4030902@bitfreak.org>
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
J. R. Lenz 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.

rm -rf /usr/ports/*/*/work




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