From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 26 23:13:30 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 703C916A4DA for ; Sat, 26 Aug 2006 23:13:30 +0000 (UTC) (envelope-from albi@scii.nl) Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEFF543D73 for ; Sat, 26 Aug 2006 23:13:29 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:22622 helo=http.aseed.net) by post-23.mail.nl.demon.net with esmtp (Exim 4.51) id 1GH7LB-000KOz-NX; Sat, 26 Aug 2006 23:13:25 +0000 Received: from amandla (217-19-30-147.dsl.cambrium.nl [217.19.30.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by http.aseed.net (Postfix) with ESMTP id 78BCC580C0; Sun, 27 Aug 2006 01:15:56 +0200 (CEST) Date: Sun, 27 Aug 2006 01:13:19 +0200 From: albi To: Roman Kurakin Message-Id: <20060827011319.902388ee.albi@scii.nl> In-Reply-To: <44F0D574.4080807@inse.ru> References: <200608261919.07106.mlobo@digiart.art.br> <20060826225350.GA20172@megan.kiwi-computer.com> <44F0D574.4080807@inse.ru> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.18; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, rick-freebsd@kiwi-computer.com, mlobo@digiart.art.br 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: Sat, 26 Aug 2006 23:13:30 -0000 On Sun, 27 Aug 2006 03:12:52 +0400 Roman Kurakin wrote: > Rick C. Petty: > > 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 > > > A bit rude, but also works > > cd /usr/ports && make clean guys... please use the official portsclean ! :) included in the sysutils/portupgrade portsclean -h portsclean 2.0.1 (2006/06/13) usage: portsclean [-hCDDiLnPPQQq] -h, --help Show this message -C, --workclean Clean up working directories --------------------------- -- grtjs, albi