Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 1998 08:59:33 +0200
From:      Lonewolf <lonewolf@apotheosis.za.org>
To:        questions@FreeBSD.ORG
Subject:   Re: /usr/ports/distfiles/ cleanup.
Message-ID:  <19981218085933.A1514@apotheosis.za.org>
In-Reply-To: <Pine.BSF.4.05.9812172002220.20299-100000@s8-37-26.student.washington.edu>; from "Jason C. Wells" on Thu, Dec 17, 1998 at 08:06:33PM
References:  <Pine.BSF.4.05.9812172011000.5241-100000@ogurok.com> <Pine.BSF.4.05.9812172002220.20299-100000@s8-37-26.student.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Thu, 17 Dec 1998, Oleg Ogurok wrote:
> >Is there any command to clean up this directory? I've been doing this
> >manually all the time.

On Thu, Dec 17, 1998 at 08:06:33PM -0800, Jason C. Wells wrote:
> rm -R /usr/ports/distfiles
> 
> It doesn't get any less manual than that without cron. :)
> 
> You could write a script that reads /var/db/pkg and then searches for
> files for distfiles _not_ in /var/db/pkg and removes them from
> /usr/ports/distfiles. You might do this is if you want only to delete out
> of date distfiles.

If you're willing to use an X application, take a look at The Ports Index
Browser (sysutils/pib).  It might be what you want.

--lonewolf@apotheosis.za.org
  http://apotheosis.za.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981218085933.A1514>