From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 26 23:05:35 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 A0C1516A4FE for ; Sat, 26 Aug 2006 23:05:35 +0000 (UTC) (envelope-from rik@inse.ru) Received: from mail.inse.ru (inse.ru [144.206.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E761F43D7E for ; Sat, 26 Aug 2006 23:05:30 +0000 (GMT) (envelope-from rik@inse.ru) Received: from [127.0.0.1] (www.inse.ru [144.206.128.1]) by mail.inse.ru (Postfix) with ESMTP id B6A4033C4C; Sun, 27 Aug 2006 03:05:28 +0400 (MSD) Message-ID: <44F0D574.4080807@inse.ru> Date: Sun, 27 Aug 2006 03:12:52 +0400 From: Roman Kurakin User-Agent: Thunderbird 1.5 (X11/20060119) MIME-Version: 1.0 To: rick-freebsd@kiwi-computer.com References: <200608261919.07106.mlobo@digiart.art.br> <20060826225350.GA20172@megan.kiwi-computer.com> In-Reply-To: <20060826225350.GA20172@megan.kiwi-computer.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sat, 26 Aug 2006 23:05:35 -0000 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 rik > =) > > -- 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" >