Date: Thu, 17 Dec 1998 20:06:33 -0800 (PST) From: "Jason C. Wells" <jcwells@u.washington.edu> To: Oleg Ogurok <oleg@ogurok.com> Cc: questions@FreeBSD.ORG Subject: Re: /usr/ports/distfiles/ cleanup. Message-ID: <Pine.BSF.4.05.9812172002220.20299-100000@s8-37-26.student.washington.edu> In-Reply-To: <Pine.BSF.4.05.9812172011000.5241-100000@ogurok.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Dec 1998, Oleg Ogurok wrote: >Hey there. > >Is there any command to clean up this directory? I've been doing this >manually all the time. 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. Catchya Later, | UW Mechanical Engineering Jason Wells | http://weber.u.washington.edu/~jcwells/ 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?Pine.BSF.4.05.9812172002220.20299-100000>