On Nov 17, 2010, at 7:33 AM, 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.

If you use this approach and you have a newer install you may want to use "requested".

port echo requested


Regards,
Bradley

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

Reply via email to