How to Move Your iTunes Library to a New Mac

Reader Mark writes in with the following query: "Hey there... I'm a recent Mac switcher and i have looked all over the internet for a way to move my iTunes library (a quite big one that is) to my new Mac mini or even to an external hard drive. Here's the kicker: i don't want to loose my play counts and ratings. I asked an employee of the mac store and they couldn't tell me any known way. I thought 'Who better to ask than the people at my new favorite blog!??')"

Read on after the jump for some possible answers...

Now, if you are making this move from an old Mac to a new Mac, then it is relatively simple. You can simply copy over the entire iTunes folder inside your Music folder (which should include an iTunes Library File, the folder with all of your music, and an XML file) over to the new machine's Music folder and—this part should be unnecessary, I think, but I'm mentioning it just for comprehensiveness—copy over your iTunes-related preferences (com.apple.iTunes.plist and com.apple.iTunes.eq.plist) located in ~/Library/Preferences/. Launch the new version of iTunes once, then close it, then replace all of the newly created folders and files with the old ones from your old machine and relaunch. Of course, you could always use the Migration Assistant (located in /Applications/Utilities/) to automate this. There's also a rather helpful article on this over at iPodLounge.

Now, for Mark, the problem would appear to be much more complex, as he's a recent Mac switcher, so I would imagine that the iTunes Library that he wants to move over to his Mac mini is actually coming from his PC. For this, I recommend reversing the steps covered in this post, although I would actually copy over the XML file as well (as opposed to deleting it as JuniorBird recommends). So it should be a simple matter of launching iTunes once and then replacing all the files and folders with their correspondents from the old machine, then simply changing the name of iTunes 4 Music Library.itl to iTunes 4 Music Library. I haven't tested this, so if anyone out there has a better method or has actually figured out an effective way of doing this, then please share in the comments.

How do you go about migrating your iTunes Library from machine to machine?

Recommended