Date: Thu, 15 Nov 2007 08:30:51 -0600 From: Jonathan Horne <freebsd@dfwlp.com> To: freebsd-questions@freebsd.org Subject: Re: selfbuild packages repository Message-ID: <20071115083051.3btz5di0gs8sw8ck@webmail.dfwlp.org> In-Reply-To: <473C5671.8060207@polands.org> References: <20071115082038.70ed3grmyok0480g@webmail.dfwlp.org> <473C5671.8060207@polands.org>
index | next in thread | previous in thread | raw e-mail
Quoting Doug Poland <doug@polands.org>: > Jonathan Horne wrote: >> lately, ive been exclusively doing 'make package-recursive' and >> 'portupgrade -apP', and have thus collected quite a lot of packages >> over the past 6 months (which use to keep multiple systems updated). >> >> on my NFS server, my /usr/ports/packages/All directory has built up >> many incrementing versions of the same packages. is there a way >> to keep the ./All directory culled back match whatever is in >> ./Latest? >> >> im not a programmer and am about as novice as you can get when it >> comes to shell scripting, but im seeing somethign that could >> compare ./Latest with ./All, and anything that is linked from >> Latest to All would be kept, and anything that no longer has a >> symlink, would be purged. >> >> can anyone help me out with a nice way of doing this? >> > I think that's what portsclean -P is all about. > > -- > Regards, > Doug perfect!! i knew there had to be an easy way, and im not surprised to find out that portsclean takes care of the job. funny, that ive been using -C and -D forever. :) cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org freebsd@dfwlp.com ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071115083051.3btz5di0gs8sw8ck>
