From owner-freebsd-questions@FreeBSD.ORG Thu Nov 15 14:20:51 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3864016A418 for ; Thu, 15 Nov 2007 14:20:51 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-244.sw.biz.rr.com [64.183.212.244]) by mx1.freebsd.org (Postfix) with ESMTP id F05EF13C44B for ; Thu, 15 Nov 2007 14:20:50 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (pollux.dfwlp.com [192.168.125.61]) by pollux.dfwlp.com (8.13.8/8.13.8) with ESMTP id lAFEKckF095657 for ; Thu, 15 Nov 2007 08:20:38 -0600 (CST) (envelope-from freebsd@dfwlp.com) Received: (from www@localhost) by pollux.dfwlp.com (8.13.8/8.13.8/Submit) id lAFEKcNJ095656 for freebsd-questions@freebsd.org; Thu, 15 Nov 2007 08:20:38 -0600 (CST) (envelope-from freebsd@dfwlp.com) X-Authentication-Warning: pollux.dfwlp.com: www set sender to freebsd@dfwlp.com using -f Received: from 167.246.36.14 ([167.246.36.14]) by webmail.dfwlp.org (Horde MIME library) with HTTP; Thu, 15 Nov 2007 08:20:38 -0600 Message-ID: <20071115082038.70ed3grmyok0480g@webmail.dfwlp.org> Date: Thu, 15 Nov 2007 08:20:38 -0600 From: Jonathan Horne To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) / FreeBSD-6.2 X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on pollux.dfwlp.com Subject: selfbuild packages repository X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2007 14:20:51 -0000 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? -- Jonathan Horne http://dfwlpiki.dfwlp.org freebsd@dfwlp.com ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.