Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there an easy way to move my iTunes library to another computer, including all the songs I obtained from sources other than the iTunes store? I don't need to keep it on the old computer. It is my understanding that the iTunes sync feature in 9 doesn't include non-iTunes songs.

share|improve this question

2 Answers 2

up vote 5 down vote accepted

Like Christopher explained, you should just move the entire iTunes directory. Importantly though there will be an XML file inside your iTunes folder named "iTunes Library.xml". This file contains references to every item stored inside your iTunes library.

Make a copy of that XML file before messing about.

Open the XML file in a text editor you're comfortable with. Near the top of the file (was the 9th line for me). You will see a line similar to this: <key>Music Folder</key><string>file://localhost/Users/kyle/Shares/Music/iTunes/</string>

You'll want to replace the values inside of with file://new/location/of/your/itunes/directory.

I'd suggest doing a find and replace on the entire file.

Open iTunes, it may take a minute but everything should work.

share|improve this answer
    
Looks quite easy to change the directory's in the XML library file, thanks for the tip! +1 –  Christopher Wilson Jun 13 '10 at 2:12
    
Also, there's no need to copy the *.itl file –  Palmin Jun 19 '10 at 18:46
    
Managed to move my music over. I strongly recommend having the same version of iTunes installed on both computers before you start, as some versions (such as iTunes 9) change the directory structure –  Casebash Jul 10 '10 at 6:28

Locate the following folder

XP

C:\Documents and Settings\Username\My Documents\My Music\iTunes\iTunes Music

Vista/Win7

C:\Users\Username\Documents\Music\iTunes\iTunes Music

Copy the following folders contents to (On Mac OS X)

~/Music/iTunes/iTunes Music

where the tilde "~" represents your home directory.

I'm not sure whether the library file is cross-compatible that's why in this suggestion i recommend just copying the Music folder.

Have a read over here

Mac OS X

Windows XP

share|improve this answer
    
Just a note: if the library isn't in that location, look at Preferences -> Advanced to see where it is –  Casebash Jun 13 '10 at 1:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.