From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 26 23:53:28 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 553B416A4DF for ; Sat, 26 Aug 2006 23:53:28 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.FreeBSD.org (Postfix) with SMTP id 4AF4B43D4C for ; Sat, 26 Aug 2006 23:53:27 +0000 (GMT) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 28677 invoked by uid 1001); 26 Aug 2006 23:53:16 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Sat, 26 Aug 2006 19:53:15 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17648.57065.350733.312979@bhuda.mired.org> Date: Sat, 26 Aug 2006 19:53:13 -0400 To: Mario Lobo In-Reply-To: <200608261919.07106.mlobo@digiart.art.br> References: <200608261919.07106.mlobo@digiart.art.br> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) From: Mike Meyer 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 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:53:28 -0000 In <200608261919.07106.mlobo@digiart.art.br>, Mario Lobo typed: > Hi; > > 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. Setting WORDIRPREFIX in /etc/make.conf will cause all the 'work' directories to be put in that directory. While cleaning them up wasn't my reason for doing that (I shared /usr/ports across several platforms), it sures makes cleaing up the work directories easy. Ditto for DISTDIR, if you want to clean up distfiles. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.