From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 18:20:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F01616A407 for ; Fri, 13 Jul 2007 18:20:20 +0000 (UTC) (envelope-from philip@Riderway.com) Received: from exhub015-2.exch015.msoutlookonline.net (exhub015-2.exch015.msoutlookonline.net [207.5.72.94]) by mx1.freebsd.org (Postfix) with ESMTP id 6557E13C494 for ; Fri, 13 Jul 2007 18:20:20 +0000 (UTC) (envelope-from philip@Riderway.com) Received: from philip.office.rws (74.93.213.161) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.0.730.1; Fri, 13 Jul 2007 11:20:19 -0700 Message-ID: <4697C262.6020205@riderway.com> Date: Fri, 13 Jul 2007 14:20:18 -0400 From: "Philip M. Gollucci" User-Agent: Thunderbird 2.0.0.0 (X11/20070507) MIME-Version: 1.0 To: Josh Paetzel References: <004601c7c56f$9d08f480$6501a8c0@GRANT> <200707131305.12565.josh@tcbug.org> In-Reply-To: <200707131305.12565.josh@tcbug.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: Grant Peel , "freebsd-questions@freebsd.org" Subject: Re: Ports Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 18:20:20 -0000 Josh Paetzel wrote: > On Friday 13 July 2007, Grant Peel wrote: >> Hi all, >> >> My ports collection on some of the servers is wasting alot of >> space. >> >> What would be the best method to 'cleanout' the ports dir without >> adversly affecting the operation of the rest of the server? >> >> All of the servers are live production servers. >> >> -Grant > > There are a few possibilities. > > 1) cd to each installed ports dir and do a make clean > 2) do the same but a make distclean > 3) rm -rf /usr/ports/*/*/work > 4) rm -rf /usr/ports and recvsup the tree > No -- install /usr/ports/ports-mgmt/portupgrade via ports or packages. portsclean -DD portsclean -C -- ------------------------------------------------------------------------ Philip M. Gollucci (philip@riderway.com) 323.219.4708 Senior System Admin - Riderway, Inc. http://riderway.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.