On Thu, Aug 15, 2013 at 8:59 AM, "René J.V. Bertin" <[email protected]> wrote: > > On Aug 15, 2013, at 10:33, Chris Jones wrote: >> >> port uninstall inactive > > I tried that once, and had to restore my whole installation tree from backup. > I would be great if one could uninstall all old versions except for the > previous version!
It's not exactly what you're looking for, but you could run: port uninstall inactive and actinact "actinact" is only those ports that have an active version as well as an inactive version. Combining it with "inactive" means install any inactive ports that also have an active version. I use it after running "upgrade outdated" to remove the old versions of ports, while leaving in place anything that I've manually left inactive. -- arno s hautala /-| [email protected] pgp b2c9d448 _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
