Subject: Re: cleaning out old distributions
To: Hubert Feyrer <firstname.lastname@example.org>
From: Perry E. Metzger <email@example.com>
Date: 03/03/1999 17:22:44
Hubert Feyrer <firstname.lastname@example.org> writes:
> On 3 Mar 1999, Perry E. Metzger wrote:
> > I'd like some sort of way to generate a list of all the distribution
> > files that are associated with any package so that I can remove any
> > file NOT on the list from my local distrib/. Its gotten too hard to
> > try to clean it out by hand.
> > Opinions?
> You can't only rm the files not (no more) associated with pkgsrc-current,
> but you also need to keep them back to (at least) the pkgsrc from the
> last release. No idea how to do that - maybe "find -mtime" or so.
*I* have no need to keep old distrib/ files. The ftp site does, but
I'm not the ftp site.
In any case, all I want is a hook that will give me a full list of
what might be in distrib so that I can nuke the things that are in
distrib that aren't in the list.