Author Topic: Copying iTunes Music to New Mac  (Read 559 times)

Offline scotbuff

  • Sys Admin
  • UNIX User
  • *****
  • Posts: 174
  • Karma: +2/-0
    • View Profile
    • Scott.Buffington.me
Copying iTunes Music to New Mac
« on: May 02, 2007, 06:51:37 pm »
There are a host of directions out there for copying your iTunes Library to a new Mac.  Most involve connecting the machines via firewire or using your iPod to copy the music.  I did not have a firewire cable and I really did not feel like messing with the settings of the iPod and iTunes on the old Mac.  I only had about 3.5GB to move, and I also did not care if it took some time.  So I used a command line solution. 

1) Start iTunes on the new Mac, this creates the iTunes directory.
2) Quit iTunes on the new Mac
3) Enable ssh in System Preferences > Sharing - Check Remote Login on the Services tag and assure Remote Login is checked on the Firewall tag.
4) Get the new Mac's IP Address.
5) Quit iTunes on the old Mac.
6) Enter this command in the terminal on the old Mac.
tar cpf - /Users/youruserid/Music/iTunes|(ssh youruserid@newMacsIP "cd /; tar xpf -")

Across wireless this took about 30 to 45 minutes to complete.  When I started iTunes on the new Mac, all my music and podcast subscriptions were there and worked perfectly.  When I plugged in my iPod I was prompted to authorize the couple songs I bought from the iTunes store on the new Mac.  Everything worked great.  If you are patient, this is a nice alternative to the other solutions.