Subject: Re: purging distfiles
To: Cherry G. Mathew <email@example.com>
From: Adrian Portelli <firstname.lastname@example.org>
Date: 08/09/2005 14:45:22
Cherry G. Mathew wrote:
> I don't think this is covered in the FAQ:
> I have a mix of current and old distfiles in my /usr/pkgsrc/distfiles
> What's an exact sequence of commands to clean it up so that I have
> just the latest, greatest distfiles left there ?
lintpkgsrc which comes as a part of pkgtools/pkglint should help you out
here. Perhaps something like:
lintpkgsrc -P /usr/pkgsrc -M /usr/pkgsrc/distfiles -o -r
You should have a look at lintpkgsrc(1) before running this to make sure
it's what you want to do.
This will remove files from your distfiles dir.