Keeping desktop and laptop in sync

Ryan Schmidt ryandesign at macports.org
Wed Nov 17 07:48:12 PST 2010


On Nov 17, 2010, at 09:33, Andrea D'Amore wrote:

> On Wed, Nov 17, 2010 at 2:57 PM, Tony McDaniel <tony at tonymcdaniel.com> wrote:
>> Is there any way to either
>> sync the /opt/local directories, or export a list of installed ports from
>> one to load onto the other?
> 
> This lists installed ports' names:
>   port installed | grep -v "The following ports" | cut -d \@ -f 1
> 
> you can redirect the output to a file on a computer and then install
> those onto the other using xargs like
>  cat installed.ports | xargs -n 1 port install
> 
> to install each port separately.

Or you can use the restore_ports.tcl script mentioned on the Migration page:

http://trac.macports.org/wiki/Migration#automatic




More information about the macports-users mailing list