From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 30 06:03:07 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 169A616A4DD for ; Wed, 30 Aug 2006 06:03:07 +0000 (UTC) (envelope-from tdamas@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CF8A43D4C for ; Wed, 30 Aug 2006 06:03:06 +0000 (GMT) (envelope-from tdamas@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so125548pye for ; Tue, 29 Aug 2006 23:03:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oGgTlUYJIcMppdHnIkeKLVmRLrOT3J3uTO7HKurNskwmqYqXqAOJSJVuqQ2W0zoavnGUe+aHygUXNlvgHFeS1Kc49TqqRQoTVBdvhmUprPzTzZayNLAwQwtgY813Ukl4jS0oqA7GuH0R/Tu9RQPB0fZqp/USwv/WD5cRNKU93jI= Received: by 10.35.8.13 with SMTP id l13mr254816pyi; Tue, 29 Aug 2006 23:03:06 -0700 (PDT) Received: by 10.35.44.7 with HTTP; Tue, 29 Aug 2006 23:03:05 -0700 (PDT) Message-ID: Date: Wed, 30 Aug 2006 03:03:05 -0300 From: "Thiago Damas" To: rick-freebsd@kiwi-computer.com In-Reply-To: <20060826225350.GA20172@megan.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200608261919.07106.mlobo@digiart.art.br> <20060826225350.GA20172@megan.kiwi-computer.com> Cc: freebsd-hackers@freebsd.org, Mario Lobo Subject: Re: A handy utility (at least for me) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2006 06:03:07 -0000 It can be: cd /usr/ports rm -rf */*/work []s On 8/26/06, Rick C. Petty wrote: > 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 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >