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

> On Wed, Nov 17, 2010 at 2:57 PM, Tony McDaniel <[email protected]> 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


_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to