From owner-freebsd-questions@FreeBSD.ORG Sun Mar 25 20:44:11 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A103216A400 for ; Sun, 25 Mar 2007 20:44:11 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 4AFCF13C459 for ; Sun, 25 Mar 2007 20:44:06 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l2PKicKr070778; Sun, 25 Mar 2007 12:44:38 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l2PKic4p070754; Sun, 25 Mar 2007 12:44:38 -0800 (PST) (envelope-from kline) Date: Sun, 25 Mar 2007 12:44:32 -0800 From: Gary Kline To: Gerard Seibert Message-ID: <20070325204432.GB67757@thought.org> References: <20070325003758.GA812@thought.org> <20070325072534.2c80d205@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070325072534.2c80d205@localhost> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Gary Kline , freebsd-questions@freebsd.org Subject: Re: auto-removal of earlier package?? 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: Sun, 25 Mar 2007 20:44:11 -0000 On Sun, Mar 25, 2007 at 07:25:34AM -0400, Gerard Seibert wrote: > On Sat, 24 Mar 2007 16:37:58 -0800 > Gary Kline wrote: > > > Can anybody suggest ascript means to rm -i a whole slew of > > packages I am collection in /usr/ports/packages/All/? > > Maybe I am misreading this; however, why not just use: > > rm -ri /usr/ports/packages/ALL/* > > You might also try: > > portsclean -C -D -L -PP > > While you are at it, clean out the 'ports/distfiles' directory too. > > rm -ri /usr/ports/distfiles/* > Yeah, I do clean out thw distfiles every so often. I am looking to maintain only the latest packages, mostly custom-built with gcc-4.2 in most cases. As for rm -i, well, I ain't that brave:-) gary > Ciao > > > > -- > Gerard > > A friend in need is a pest indeed. -- Gary Kline kline@thought.org www.thought.org Public Service Unix