From owner-freebsd-questions Fri Dec 18 11:47:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA20473 for freebsd-questions-outgoing; Fri, 18 Dec 1998 11:47:58 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.240.222]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA20468 for ; Fri, 18 Dec 1998 11:47:56 -0800 (PST) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.9.1/8.9.1) id LAA01294; Fri, 18 Dec 1998 11:47:45 -0800 (PST) (envelope-from mph) Message-ID: <19981218114745.B1249@wopr.caltech.edu> Date: Fri, 18 Dec 1998 11:47:45 -0800 From: Matthew Hunt To: Oleg Ogurok , questions@FreeBSD.ORG Subject: Re: /usr/ports/distfiles/ cleanup. References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Oleg Ogurok on Thu, Dec 17, 1998 at 08:23:55PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Dec 17, 1998 at 08:23:55PM -0500, Oleg Ogurok wrote: > Is there any command to clean up this directory? I've been doing this > manually all the time. "make distclean" in a port's directory will do a "make clean" and also remove the distfiles from /usr/ports/distfiles. More generally, "make distclean" in /usr/ports will do that for all of the ports. However, it is slow. "make" has to parse a lot of Makefiles to do the work. So if you just want to nuke everything in /usr/ports/distfiles, then "rm" is probably a more efficient solution. -- Matthew Hunt * UNIX is a lever for the intellect. -J.R. Mashey http://www.pobox.com/~mph/pgp.key for PGP public key 0x67203349. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message