Port Function to Handle OS Upgrades

Ryan Schmidt ryandesign at macports.org
Fri Oct 23 12:58:49 PDT 2009


On Oct 23, 2009, at 14:53, Scott Haneda wrote:

> Valuable regardless of preparing for an OS upgrade or not.  I would  
> see there being times I may want to do any of the below, at any  
> given time, for some reason.
>
> Uninstall everything is also a nice one.

Well, you already can.

>> * remove all build directories

sudo port clean all

>> * trash all irrelevant archives

Define irrelevant.

>> * dump a list of what is installed (either to be read in by another  
>> function or simply catted to port)

port installed > myports.txt

>> * uninstall everything

sudo port -f uninstall installed



More information about the macports-dev mailing list