Generating a list of all installed software (or something like that).

Joshua Root jmr at macports.org
Fri Dec 5 05:37:20 PST 2008


Mikael Gripenstedt wrote:
> On Dec 5, 2008, at 13:16 , Tim Visher wrote:
> 
>> Hello Everyone,
>>
>> I'd be interested in generating a complete list of all software I have
>> installed through MacPorts so that I don't have to back up my
>> installation in case of a hard drive failure.  Basic use case would be
>> that if my disk fails, I just download MacPorts again, and then run
>> this script through it and after awhile I get my exact install back
>> the way I had it n-days before the crash.  Any way to do this?
>>
>> This has been inspired by APTonCD's ability to generate a list of
>> everything you've installed through apt for various purposes, if you
>> want to know an analogue.
>>
>> -- 
>> In Christ,
>>
>> Timmy V.
>>
>> http://burningones.com/
>> http://five.sentenc.es/ - Spend less time on e-mail
> 
> Hi Timmy,
> 
> port list installed
> 
> Will give you a list of installed software. Is this what you were
> looking for?

You actually want 'port installed' rather than 'port list installed',
because 'port list' shows you the version in the index, which may not be
the same as what's installed.

- Josh


More information about the macports-users mailing list