On Tue, Jan 25, 2011 at 22:50, Jason Swails <jason.swa...@gmail.com> wrote: > {sudo} port clean --all uninstalled > > Does that do the trick? You can optionally replace --all with --dist to > just get rid of the distfiles. I don't want to do this to test it since I > actually want to hold on to those files.
That'll remove the uninstalled distfiles, but not the old versions of installed distfiles. Thanks for reminding me about "uninstalled" I'd forgotten about that; it solves half my problem. > You can also do > > {sudo} port -u uninstall > > to clean out all old, inactive versions (you can get the list via "port > inactive"). I always upgrade with the -u flag to remove the installed image of older versions, but I want to remove the source tarballs for these old versions as well. I think I remember this question coming up a while ago but can't remember if there was ever a solution plus I can't find the original email. Cheers Adam _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users