Migrating /opt and /usr/local to new MacBook?

Discussion in 'MacBook Pro' started by self, Dec 17, 2013.

  1. self macrumors regular

    Jul 11, 2008
    Sorry for what is probably a faq, but I'm not clear on the best way to migrate my old /opt and /usr/local to a new MacBook? I have a ton of stuff in there that I can't easily reinstall, for example an entire Gentoo distribution compiled (painfully) from source. Maybe just use tar?

    The source machine is a first-generation MacBook currently running 10.8.5 and the destination will be the new generation MacBook.


    Just realized this should probably have been posted in the OS X section. Sorry about that.
  2. great high wolf macrumors regular

    great high wolf

    Jan 30, 2006
    tar 'em up and untar 'em on the new one, I guess... just watch out for anything that's not part of your collection. /opt/X11 is probably one to ditch for the latest version freshly installed from XQuartz.
  3. MacUser2525 macrumors 68000


    Mar 17, 2007
    Yes or if you want to save a step both sides of the equation for the tar/extract from tar operation then scp -r the directories between the machines or rsync them even.

Share This Page