From owner-freebsd-questions@FreeBSD.ORG Thu Jul 10 04:53:40 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81B3B37B401 for ; Thu, 10 Jul 2003 04:53:40 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E06743FAF for ; Thu, 10 Jul 2003 04:53:39 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 236BB38578; Thu, 10 Jul 2003 13:53:36 +0200 (CEST) Date: Thu, 10 Jul 2003 13:53:36 +0200 From: Simon Barner To: Nigel Taylor Message-ID: <20030710115336.GA679@zi025.glhnet.mhn.de> References: <3F0D4C46.5040502@iinet.net.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <3F0D4C46.5040502@iinet.net.au> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: freebsd-questions@FreeBSD.ORG Subject: Re: Try to delete files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 11:53:40 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, > Hi, in my years of using freebsd i have collected alot of distfiles in=20 > the ports tree and i want to free up some space on my harddrive and i=20 > was wondering is there a command to delete files in the distfiles folder= =20 > that are less than the year 2000? >=20 > Or maybe there is a program that deletes all the older releases in the=20 > distfiles? if someone could help i would be gratefully Yes, there is one included in the sysutils/portupgrade port: 'portsclean -CD' will erase all of your stale distfiles and work directories (see the man page for more switches). In case you didn't know portupgrade(1), you really have to check it out. It's a must-have :-) Cheers, Simon --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/DVPACkn+/eutqCoRAr0UAKDQqGANVlg36SnTK77OLxJalbw9/wCfYcqO gfVDgh38JVxPViZFKflzX5I= =Hjcm -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--