From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 26 22:53:52 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF4CD16A4DA for ; Sat, 26 Aug 2006 22:53:52 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (megan.kiwi-computer.com [63.224.10.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 15B3243D46 for ; Sat, 26 Aug 2006 22:53:51 +0000 (GMT) (envelope-from rick@kiwi-computer.com) Received: (qmail 20202 invoked by uid 2001); 26 Aug 2006 22:53:50 -0000 Date: Sat, 26 Aug 2006 17:53:50 -0500 From: "Rick C. Petty" To: Mario Lobo Message-ID: <20060826225350.GA20172@megan.kiwi-computer.com> References: <200608261919.07106.mlobo@digiart.art.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608261919.07106.mlobo@digiart.art.br> User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org Subject: Re: A handy utility (at least for me) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Aug 2006 22:53:53 -0000 On Sat, Aug 26, 2006 at 07:19:06PM -0300, Mario Lobo wrote: > > My /usr/ports directory was occuping 24 gigs, of which 20 was just from the > 'work' directories ! > > Removing them one by one was a pain so I wrote this little utility to wipe > them off. I find that the following command works just fine for me: find /usr/ports -type d -name work -prune -print -delete =) -- Rick C. Petty