clean only old distfiles?

Ryan Schmidt ryandesign at macports.org
Tue Aug 30 13:35:37 PDT 2011


On Aug 30, 2011, at 08:47, Michael Dickens wrote:

> I've looked through port's help & manpage, and can't figure this
> out easily: Is there a way to clean just old (not currently in
> use) distfiles?  Doing "port clean --dist [list]" cleans both old
> and current, and oftentimes a port just has a revision bump &
> hence keeping the distfile around is convenient.  But, keeping
> the old stuff just ends up wasting disk space -- hence, it would
> be nice to easily be able to remove it.  Ideas? - MLD

I use this script:

http://lists.macosforge.org/pipermail/macports-users/2010-June/020560.html

Actually, an updated version of that script.... I should commit it to the repository or something.





More information about the macports-dev mailing list