Keeping desktop and laptop in sync

Andrea D'Amore and.damore at macports.org
Wed Nov 17 07:33:53 PST 2010


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.


More information about the macports-users mailing list