Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2007 11:42:10 -0500
From:      Jonathan Horne <freebsd@dfwlp.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: /usr/ports/packages cleanup
Message-ID:  <200707121142.10689.freebsd@dfwlp.com>
In-Reply-To: <20070712105343.60251d12.bsd-unix@earthlink.net>
References:  <200707120846.26845.freebsd@dfwlp.com> <20070712105343.60251d12.bsd-unix@earthlink.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thursday 12 July 2007 09:53:43 Randy Pratt wrote:
> On Thu, 12 Jul 2007 08:46:26 -0500
>
> Jonathan Horne <freebsd@dfwlp.com> wrote:
> > my packages dir is starting to have more than a few packages of
> > incrementing versions.  example:
> >
> > [jhorne@athena All] $ ls kde-3*
> > kde-3.5.6_1.tbz  kde-3.5.7.tbz
> >
> > is there a simple way to clean the packages directory, and only keep the
> > latest version of each package?
>
> I use "portsclean -P" to clean out /usr/ports/packages.  Perhaps it
> is what you're looking for.
>
> Randy

well this is my build server as well as my workstation, so i have many 
packages that ive built that i require for my servers, that might not be 
installed on my workstation.  portsclean -P would probably purge off a lot of 
things that i still need.

if anything turns up at all, it will probably have to be some sort of shell 
script (of which i have almost 0 talen for).
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
freebsd@dfwlp.com



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200707121142.10689.freebsd>