HOWTO: Move your iTunes music while preserving library data (when you don’t let iTunes manage your music library)
It all depends on whether or not you let iTunes manage your music library:
- If you do, then moving your music while preserving library data (playlists, play counts, etc.) is pretty trivial and documentation provided by Apple has got you covered (check “Part 1” in the guide that follows).
- If you don’t (which is the user group I belong to), things are a bit harder, and instructions on the Internet are pretty rare to find (took a lot of Googlin’). It’s basically a two-part process.
Before we begin, let me state the obvious—keep backups (besides your music, don’t forget the library files—XML, ITL, etc.), more than one if possible. If after following my instructions something goes wrong and your music files and/or library are messed up, I shouldn’t be held responsible. Follow the instructions at your own risk, etc. For what it’s worth, I did what I’m describing here a couple of days ago and it worked without a hitch.
UPDATE: It’s also important to note that this definitely works with iTunes 6 (the version that was current when writing this HOWTO). Numerous reports in the comments though, indicate that it also works with versions 7,8 and 9.
So, with this out of the way:
Part 1
Music that you rip with iTunes is imported in the iTunes Music folder—that’s usually C:\Documents and Settings\Username\My Documents\My Music\iTunes\iTunes Music\. Same goes for podcasts that you download with iTunes (look for a folder named Podcasts in the aforementioned path. Here’s what you have to do to move those files:
- Go to Edit → Preferences → Advanced → General. Click Change and choose a new path for your files—e.g. D:\Music\iTunes\.
- Quit iTunes.
- Open the iTunes Music folder, select everything in there (try a Ctrl+A) and copy it to the new location. As the “Help” page notes: “Do not drag the entire iTunes Music folder, only its contents.”
- Restart iTunes and your moved tunes are automagically found.
If you let iTunes manage your music library (in Edit → Preferences → Advanced → General, the box “Copy files to iTunes Music folder when adding to library” is checked √) with the aforementioned method you’ve moved your whole library, so you can stop reading here.Part 2
You’ve moved your iTunes podcasts and iTunes rips but what happens with the rest of your music that you have indexed with iTunes?
First, a note. In C:\Documents and Settings\Username\My Documents\My Music\iTunes\ there are two important files (among other stuff):
- iTunes Library.itl
- iTunes Music Library.xml
If you open the former with a text editor, you’ll just see garbage (not human-readable characters) so there’s nothing we can do with it. If you open the latter, you’ll see a nicely formatted XML file with references to the file paths for each of your music files.
You may wonder: “why not move my music to the new location, edit the XML file to reflect the new paths, launch iTunes and go?” Because iTunes doesn’t actually read this file—it’s using the ITL file (which we can’t edit accordingly).
But as Schmolle found out… if the ITL file is corrupted or damaged, then iTunes will revert to the XML file in order to rebuild it (and consequently, your library data). So the plan is to edit the XML file to reflect the changes in our file paths, and somehow damage the ITL file in order to get iTunes to rebuild it from our revised XML file. If this sounded a bit complicated, worry not—we describe the actions needed step-by-step below:
- Quit iTunes.
- Backup your iTunes Music folder—this contains your library data. Now that it’s relieved from your podcasts and iTunes rips it’s considerably lighter too, so do an additional backup or two just to be on the safe side. Do this. Now.
- Move your music files (those indexed by iTunes that are neither iTunes podcasts nor iTunes rips) from the old location (say, C:\Documents and Settings\Username\My Documents\My Music\Non-iTunes\) to the new location (say, D:\Music\Non-iTunes\).
- Open the “iTunes Library.itl” file. Select all text (Ctrl+A) and delete it. The file is now blank, with zero characters on it—save it. iTunes Library.itl’s filesize should now be 0 bytes. (This is important, as Schmolle notes, because some Unicode-aware editors—e.g. UltraEdit—may add invisible characters to the beginning of the file.)
- Open the “iTunes Music Library.xml” and do a global search and replace with your text editor of choice. (Search for the old path, and replace with the new path; a screenshot of how this is done in EditPad Lite, a freeware text editor that’s light and powerful, follows after the end of this list.)
- Save the XML file.
- Launch iTunes. A prompt with a progress bar will come up—iTunes is rebuilding your library. Depending on how powerful your computer is and the size of your music library, this may take a while. When this ends, iTunes will come up with a message saying that the library file was corrupted/damaged and it tried to rebuild things for you. Press “OK”, iTunes finally launches.
- Check to see if all your music and playlists are there, and if library data (play counts, etc.) has been preserved. (Hopefully everything’s fine.) You’ll also notice a couple of additional static playlists for your podcasts, videos, etc. UPDATE: Simon notes in the comments section:
As a minor aside, this approach ‘loses’ the date and timestamp when the file was originally added. This instead becomes the date and time that the track was (re)added to the library during the rebuild. That said, while this slightly messes-up any ‘recently added’ playlists, it somehow maintains the correct sequence (i.e. the rebuild seems to occur in the same sequence in which the mp3s were originally added, so one can still sort the library/playlist by ‘date file added’ and see the newest ones at the bottom).
- You’re almost done.
(EditPad Lite screenshot—click for larger size:)
By almost we mean:
- all the columns in iTunes have been resetted. You’ll have to re-select those columns that you want to be viewable for each playlist, and resize them if necessary.
- your podcast subscriptions have been lost. Do the following:
Go to Edit → Preferences → General and see that “Show Genre when browsing” is checked √). Press the “OK” button.- Choose Edit → Show Browser.
- Go to your Library. From the first column of the browser (the Genre one), choose “Podcast”. In the third column of the browser (Album) those albums you see are the podcasts you were subscribed to do. Click on each “album” (podcast), choose all of its “songs” (the podcast’s shows), and drag them to Podcasts in the Source column—see screenshot after the end of this list.
- Go to Podcasts, you’ll now see a collapsed entry for the podcast you just dragged and next to it a “Subscribe” button—click on it to re-subscribe to this podcast. (If you click the arrow to expand the entry you’ll see that all of the podcast’s shows that you dragged from the Library are there.)
- Repeat process for each podcast you want to re-subscribe to.
(Screenshot that shows how to move podcasts from the Library view to Podcasts—click for larger size:)
You’re done, that’s pretty much it.
Thanks to Schmolle—without his findings I’d have probably never figured that out. I just brought his guide a bit up-to-date, and added Part 1 and the podcasts section.
If you’re on a Mac, the process should be similar except your “iTunes Library.itl” file is simply “iTunes Library” (without an extension). (UPDATE: Rich confirms that it works.)
For those switching to Mac and wanting to carry their music and library data over, I’d like to know if the following works (i.e. AFAIK nobody’s tested this):
- blanking your “iTunes Library” file (on the Mac)
- bringing over your “iTunes Music Library.xml” (from the PC) revised with the updated filepaths (for the Mac)
Finally, if you want to move your music from a “traditional” hard drive to a NAS (network attached storage) device, you may also want to read Simon’s comment.
If you try it, let me know how it went. Furthermore, if you’ve got anything to add, or feel like sharing a relevant tip or two, leave a comment.
UPDATES:
- (June 27th, 2006) Added notes on NAS devices, lost “date added” timestamps.
- (March 14th, 2008) Does the rebuilbing of the ITL file stuck? Do you have songs with Japanese/Chinese characters? If you answered “yes” to both questions, read llyse’s comment.
Before leaving the site, have a look at our most popular entries:
- Best MP3 Players For 2011 - 2012 (September 4, 2012)
- Review: FixTunes (September 14, 2006)
- iPod Won't Power Up? Here's what to do! (July 12, 2011)
- Restore your iPod if it's not detected in itunes or windows. (July 12, 2011)
- Apple Lossless offerings from the iTMS not likely—for now (June 28, 2006)
- Review: Datasafe oomi (June 7, 2006)
- HOWTO: Move your iTunes music while preserving library data (May 11, 2006)
- Batteries 101 (May 8, 2006)
- Presentation: iPod Hi-Fi, plus a few thoughts (March 2, 2006)
- Presentation/Review: Creative Zen Vision:M (December 9, 2005)
- Review: Alegria Audio Ling bookshelf speaker system (November 9, 2005)
- HOWTO: Put together a $3K audiophile CD player for $555 (October 20, 2005)
- HOWTO: Build the CMoy pocket amplifier (October 16, 2005)
Great stuff! This will come in handy soon.
...added by Paul Stamatiou /// May 12th, 2006 at 00:20 AM
Thanks Paul.
...added by Konstantinos Christidis /// May 12th, 2006 at 00:32 AM
When I got my new headphones, I realized that I can’t enjoy 128kbps mp3’s anymore. I needed to go quality to make my investment worth it. That meant FLAC, so I reripped all my CD’s to FLAC files, and then I remembered that iTunes doesn’t support that format, amongst others (.ogg, too.) So I searched around, and settled on MediaMonkey, which allows me to manage my large music collection.
While it’s not as intuitive as iTunes, it’ll get the job done, at least until Songbird comes out.
...added by Matt Burris /// May 15th, 2006 at 21:49 PM
Oh Matt, you’re doing a killer job in the research department. MediaMonkey is probably my favorite app when it comes to organizing my music library—a huge array of music formats supported, plus scripts/plugins to extend the app’s capabilities. The latter takes the app to whole new level.
By the way, if you want high-quality files and want to stay with iTunes, you could always go with the Apple Lossless format. It’s the result of Apple messing with FLAC (they’re pretty similar), but obviously with FLAC you’re giving the finger to proprietary formats.
RE: Songbird… well, here you go.
...added by Konstantinos Christidis /// May 17th, 2006 at 01:53 AM
Just to let you know, works perfectly on a MAC!
Thanks for the tips.
Rich
...added by Rich /// June 6th, 2006 at 07:24 AM
Thanks for this! I finally got my iTunes library moved over to my new computer.
...added by Chris /// June 9th, 2006 at 06:08 AM
Thanks, this’ll make a great bookmark. Just know it will come in handy some day.
...added by Olav /// June 13th, 2006 at 20:12 PM
I moved my 20+ gigs of music to my daughters computer using the “drag and drop” method from a network folder on our wireless network. Unfortunately I didn’t have the “let iTunes manage the files” option checked on hers so it cataloged everything as being on the network drive and didn’t copy it to her hard drive. Unfortunately (again), I didn’t realize why it had done that so I simply copied all the files to the iTunes folder.
Your method flawlessly let me get her up and running preserving playlists, “last added” list, etc. Everything was intact.
I’ve done a LOT of research on how to fix my error and this is the most effective and succint description I’ve seen.
One bit of advice for Windows users: use Word Pad, not Notepad for doing the “find and replace”, particularly if it’s a large .xml file. Mine was 7+ MB and Notepad totally choked on it. Word Pad handled it in about 3 minutes.
Thanks again. Brilliant work.
c.
...added by Chris Savage /// June 20th, 2006 at 15:53 PM
Thank you for the kind words, Chris—glad the article was of help!
Also, thank you for the tip regarding WordPad.
...added by Konstantinos Christidis /// June 20th, 2006 at 17:38 PM
I have just sucsesfully transfered the library ratings etc etc from my PC to my new and wonderful MacBook Pro. But what I needed to do was to export the library in the file menu of the PC then do the editing of the XML file it generated to have the right URL for the Mac. Next I moved the music files and the newly edited XML file to the Mac. Deleted any prior XML files and the ITL file from the mac. when I opend the itunes in the mac nouthing showed so I hit file import and seleced the new XML file and Voila!
Thanks for the help
Ben
...added by Ben /// June 21st, 2006 at 00:08 AM
I was wondering where the sudden surge of emails with ‘thank you’ notes came from—now I know
Kudos to you for a well written article, including the things that I never felt knowledgeable enough to write about myself.
I’ll silently share the thank you’s lavished on you. Pity my own (freebie) hosting doesn’t allow for commenting facilities…
...added by Schmolle /// June 21st, 2006 at 21:31 PM
Hey Schmolle, I really appreciate your comment. You are the one who should be thanked for coming up with this clever solution.
Thanks!
...added by Konstantinos Christidis /// June 22nd, 2006 at 13:26 PM
This is exactly what i was looking for! I just reformated my computer and in doing changed the computer name from something random to my first name. Then of course windows doesn’t let me use my first name as the username cause it’s the computer name. Curses. So I to set my username to first+last and as such change the path to my music.
I have been looking all over for how to get the data into itunes from the XML and you finally gave me the answer. Thanks so much!
...added by Gidgidonihah /// June 26th, 2006 at 10:42 AM
This is great!
I needed to move my mp3’s from a Maxtor to a Yellow Machine (a superb 1 terrabyte RAID5 drive – see http://www.yellowmachine.com) and iTunes was preventing me because it viewed the Yellow Machine as a separate ‘machine’.
(This seems to be because the Yellow Machine operates as a ‘server’ connected by 10/100 whereas iTunes viewed the Maxtor as a HDD with a letter like H: or whatever, because it hung off a specific PC via USB2.0 or Firewire, and thus Advanced -> Consolidate library will work with the Maxtor but won’t work for the Yellow Machine.)
By moving the mp3’s to the Yellow Machine, and using this hack to re-point iTunes to the new location, I can now use iTunes on all machines on my home network to play from the ‘server’ drive … even a laptop in the garden via WiFi, which beats even AirTunes!
As a tip, it is useful to pick one track to determine the format for the source and destination before launching-in headlongt.
Hence consider this approach:
1. Pick one track (e.g. go into iTunes, sort the library by artist, and pick an obscure artist for which you only have one track)
2. Quit iTunes, and use explorer to copy from the source folder (for me H:My Music) the FOLDER for this artist (i.e the chain of artistname -> albumname -> trackname.mp3) over to the destination drive
3. Open iTunes and use File -> Add file to library to add the track from the dsetination drive into the iTunes library (it will appear to be duplicated, but right-click -> Get info on each entry should give different locations: one source, one destination)
4. Quit iTunes, backup the xml and ita files as described above, and use Wordpad to empty the ita file to zero bytes as described above
5. Then use Wordpad to look at the xml library and find the two entries of the chosen artist (one on the source and one on the destination). In each case, once FIND has found the artist’s name, scroll down a few lines until you see the line describing the file’s location which you should write out on paper VERY VERY carefully. For example, for me the source was file://localhost/H:/My%20Music/... and the destination was file://localhost/YmXXXYYY/disk1/My%20Music/iTunes/... (where XXXYYY is the last part of the MAC address of my Yellow Machine)
5. Go back to the top of the xml library (this is important, otherwise it won’t replace everything!) and use Replace All. For me that meant replace-all file://localhost/H:/My%20Music
with
file://localhost/YmXXXYYY/disk1/My%20Music/iTunes
6. Save and quit Wordpad
7. Open iTunes … and wait (a long time if you have thousands of mps3) and hit ‘ok’ when it tells you the library was corrupt and needs to be rebuilt
And hey presto, it all works, and all the rating info etc. is preserved.
As a minor aside, this approach ‘loses’ the date and timestamp when the file was originally added. This instead becomes the date and time that the track was (re)added to the library during the rebuild. That said, while this slightly messes-up any ‘recently added’ playlists, it somehow maintains the correct sequence (i.e. the rebuild seems to occur in the same sequence in which the mp3’s were originally added, so one can still sort the library/playlist by ‘date file added’ and see the newest ones at the bottom).
Again, thanks. (And long live Yellow Machines!)
...added by Simon /// June 26th, 2006 at 12:14 PM
Woah, Simon that’s what I call a thorough and helpful comment.
I went ahead and added your last paragraph (the one regarding dates and timestamps) in the article—I had missed that, thanks for noting it.
I’ve also included a link to your comment for those wanting to move their music to a NAS (network attached storage) device, such as the Yellow Machine you’re using.
Much appreciated—thanks for sharing your tips!
...added by Konstantinos Christidis /// June 27th, 2006 at 12:32 PM
I store our 20GB+ music on a Buffalo station from which all 4 family members access the music for their personal iTunes. The Buffalo station crapped out, but luckily I had backed up all the music on a second Buffalo. I went through all the Apple help files and BBS messages looking for a way to have the iTunes point to the new location, but couldn’t find one till I came across this site. I tried this and it worked perfectly. Thank you!
...added by Russell Siegelman /// July 3rd, 2006 at 17:40 PM
Wow. I was fighting over a solution to my problem for awhile. Went over to the Apple forums and someone pointed me to this article, and I must say, it worked like a charm. Thanks for taking the time to work out this nice tip…
...added by Adam /// July 4th, 2006 at 15:37 PM
Found a neat little script for mac users to use after doing this tip. Don’t know if it’ll work on windows, but you can give it a try. It lets you change the view options for any/all your playlists (you can choose whatever playlists you want) to mirror what your Library’s options are. Came in very handy for me after moving my music.
...added by Adam /// July 4th, 2006 at 22:29 PM
Adam: thank you both for your kind words and the link to the script—our Mac friends will appreciate it.
...added by Konstantinos Christidis /// July 5th, 2006 at 00:43 AM
hello, I have tried this and it works! Thanks for the help. But I am not really completely satisfied with this as it was posted that the timestamp will be lost. that’s what also want to preserve. do you happen to know a program or a script that would do the same thing but it would also preserve that timestamps. I’ve tried to use iTune Library Updater and hopefully it would work, but it didn’t. I was hoping that a program would actually hack the ITL file and take the managing the stuff from there. I am assuming that the programs that are currently available are just scripts like applescript. Is it possible to create a script that would:
1. search for the file that are dead (! sign)
2. check what is the current location information of the file in the ITL file
3. Modify that information.
hope that someone has created such program because I have a habit of reformating my hardisk every year. why? there is no registry cleaning program that is effective as reformating your hardisk.
...added by Francis /// July 5th, 2006 at 08:20 AM
Hey, I had to make a laptop switch and up until now, I’ve been struggling with how to reestablish all of my play counts and playlists. I’d used a program called sharepod but it didn’t do everything I’d hoped it would. I had my old iTunes library file from the old laptop, though and I knew that there was some way that I could get iTunes to use that one instead of the new one it had created. Copying my old itl and xml files in place of the new ones and then erasing the contents of the itl file did the trick. Thank you so much. I now have my beloved playlists and playcounts.
I do have one problem. I believe that it was caused by sharepod which was what I used to transfer the music from my iPod to the new laptop. I had some song titles and artists in Hebrew font and they’ve all been reversed so that they now read left to right (incorrectly). I was wondering if you had any ideas about how to correct this or could point me in the right direction for some Hebrew text support for iTunes. I know that this is a somewhat obscure request and somewhat of a shot in the dark but if you can help…
...and if not, thanks so much for your helpful post.
...added by Daniel /// July 5th, 2006 at 09:34 AM
Daniel: I couldn’t find anything related to iTunes and Hebrew text support—sorry!
...added by Konstantinos Christidis /// July 12th, 2006 at 23:57 PM
Fantastic! I’d been all over the web trying to fix this and finally this solution did the trick! Many thanks for the post.
...added by Cams Campbell /// July 31st, 2006 at 16:13 PM
Migrating iTunes from PC to Mac and preserving play counts:
I don’t allow iTunes to organize my music and needed to transfer library and playlists from Win to Mac.
Installed iTunes on my new Mac, copied all of my song files from the iTunes Music folder on the PC to the new location on the Mac.
Opened the PC iTunes Music Library.xml and did a Find and Replace as directed in Part 2 above, where I searched for the PC location and replaced it with the Mac location. I then saved this file on my Mac.
I then deleted the iTunes Library.itl and iTunes Music Library.xml on my new Mac, moved the edited .xml file to the directory where the deleted file was. I then copied the PC iTunes Library.itl file to that same Mac directory and—voila!—when I opened iTunes on the Mac, all of my songs, playlists, counts and dates played where successfully brought over from the PC to the Mac.
Since I want my Mac (@work) and my PC (@home) to have the same playlists and counts, will attempt to use my iPod to keep both lists update. Will advise if this experiment works.
(Konstantino: Evharisto for the great site!)
...added by gShash /// August 8th, 2006 at 16:01 PM
gShash, Cams and everyone: thank you for your kind words, I appreciate them.
...added by Konstantinos Christidis /// August 8th, 2006 at 20:04 PM
HI All:
I have been reading the rather exhaustive solution above and have been unable to find an answer to my current problem. I would like to apologize in advance for posting an issue not directly related to the above but a by problem I have encountered as a product of a process in line with the general theme in this thread.
I have posted the following on iLounge but with no results and unfortunately while I can play my music I can’t back anything up. I hope that with the added knowledge base of the readers of this thread my songs can be found (which really are there!). Thanks.
HDD was getting full so I purchased an external drive and followed itunes/support instructions:
1. Moved the itunes music folder to the external drive. [all 43.7gb].
2. Edit—> Preferences—> Advanced > changed the location to the external folder
3. Clicked yes to keep music folder organized be itunes
1 week later: I wanted to backup the external drive to another external drive and began using that drive instead (I did make the change to iTunes by repeating steps 2 & 3). Every time I loaded itunes the computer would look for the external drive (assuming it to be mapped to the same drive letter) and if it was mapped to a different letter, it would show excalamation mark in the itunes folder. To remedy this I assigned a drive letter to the external drive as explained here.
At the office I dock the tablet pc and plug in the external drive (the ibm dock covers the usb port) so I have to plug it into another port. This required telling iTunes where the external drive is (repeating steps 2 & 3). Unfortunately, whilst doing this exercise I might have clicked and stopped the keep itunes folder organized process mid-way. I still see all the songs in iTunes, however in the external drive when I open the folder only albums beginning with letters A & B are listed, with only about 1/2 of the ones beginning with B.
The size of this folder is 1.7 mb versus the iTunes library which is 43.7gb
I would like to move the folder to antoher drive and also back it up and/or share within the allowed 5 authorized computers, however with Windows Explorer only recognizing 1.7gb I am at a loss.Currently am not panicking because I know its somewhere as I am able to play the songs. I randomly chose tracks beginning with differnt letters of the alphabet and they all play fine. I also am able to sync my GV 60gb ipod and get new playlists. I would really appreciate help on this and have tried in vain to find the solution in these forums. Thanks. PLEASE HELP: been almost 2 weeks since I have been able to use itunes as I have no idea where it will store the files.
I checked the external disk (Maxtor II) and found that about approx. 40gb is accounted for. I.E:
Free Space: 86.5
Total Size: 233
Checking each folder within the drive I find less than 100 being used by all current files. I do have a month old backup on another drive (Western Digital 250gb) which contains 43 gb of music (7,000 files) of which I can only see a handful in the folder I currently sync with. Besides assigning a drive letter, and possibly stopping itunes in an activity (mentioned above), both of which I have tried to since correct (removed the drive letter signing and after changing the drive location in itunes/advanced I ran the short exercise (Which itunes does to account for all file locations) but still nothing. I cannot fathom what might be the issue! I have run disk check and disk defrag to no avail.
PLEASE HELP. Shall I just copy the old on top of the new? If I do, will I permamently lose the 40gb of space? How might it affect my itunes library (playlists, albums, etc.) which is the most important thing here…
...added by Babar /// August 13th, 2006 at 07:42 AM
Hello,
A friend pointed me to the solution above and I just have a couple questions before I format my hard disk. I have a master and secondary hard disk on my computer. Whilst iTunes and Windows are installed on the Primary Drive, all of the music is on the secondary drive.
When you insert a CD into iTunes, it usually imports the correct information from CDDB, but a mixed CD will be unrecognized, and sometimes the CDDB for a legitimate disc is incorrect. So, I use the GET INFO pages to edit all of this and set my music the way I like it. Upon reinserting that same CD, iTunes will display the preserved information previously entered. Where is this information stored (Such as track names, album title, etc. especially if you don’t import the music, just play it from the disc)?
Also, when importing music, I will often have to edit all of the track numbers in the Album for them to appear in order.
The point of all of this, is it is well overdue that I format my Master hard disk. The above method seems to preserve the playlists, but will it store the CD names?
Also, when you edit the start and stop times for tracks (to eliminate long gaps of silence at ends of tracks, for example), will it preserve these START and STOP times?
I have spent much time organizing my library, and I don’t want to go through and reedit all of the track start times, playlists, etc. I am not familiar with the iTunes jargon (counts…??), so sorry if I’m actually posing a redundant question. Will the above method give me the results I want? Will it restore CD names for mixed/compiled CD’s, and CD’s whose track information I have edited? Will it preserve start and stop times for tracks?
Thank you all so much for your time,
Steve
...added by Steve Bristo /// August 17th, 2006 at 16:34 PM
Ok, I’m not really helping here, but I have questions. For one, I just got a Mac Pro, and I had all my iTunes music on a PC at home and on a 4th gen. iPod. The way I went about transfering my songs was from my iPod. I downloaded TinkerTool, which allowed me to view Hidden files on the Mac. So I simply copied all my music from the iPod onto my Mac, then imported the music into iTunes. I had done this before on my PC, and it worked flawlessly. Now, when I tried it on my Mac, some of the songs in iTunes will randomly stop and skip to the next song. I go back to the song that skipped, and it skips at the same time as before. The songs do not skip on my iPod or on the PC iTunes library, only on my Mac. The whole song file is there, because if i skip past the point in the song where it “skips,” the rest of the song plays to the end. I also tried converting the song (already and AAC file) to AAC, but the newly converted song has an endpoint where the original song skips. Example: say a song is 2:35 long, and it skips at 0:47. The converted song is only 0:47 long. Is there any way to fix this? Where there files corrupted upon uploading to my Mac? Does my iPod being formatted for Windows play any role into my scenario? And I’m not exactally sure how to go about the process of doing what everyone else is. Am I supposed to have my PC and Mac connected? Or do I use an external Hard drive? Sorry for being difficult/dumb. I just don’t want to have to upload every single CD again, or loose my music all together.
...added by Brian /// August 22nd, 2006 at 02:16 AM
...was struggling to migrate my iTunes collection from PC to my brand new iMac…till I found this site. Works great. Thanks!
...added by Glenn /// August 23rd, 2006 at 21:19 PM
You sir (Schmolle too =D), are a complete legend. I think you have just saved me about a months worth of trouble.
...added by Jamie /// August 27th, 2006 at 21:53 PM
I managed to move the library data with this great guide, but all track ratings were removed from the newly created XML file after importing the library.
Is it somehow possible to maintain the ratings also?
...added by blubalu /// September 2nd, 2006 at 15:33 PM
blubalu: ratings are supposed to be preserved—maybe you did something wrong in the process?
Jamie, Glenn: thank you for the kind words.
...added by Konstantinos Christidis /// September 2nd, 2006 at 20:28 PM
Theres no need to mess around with the ITL file.
1) Copy your XML file to a convenient location, anywhere will do as long as its not your default itunes folder. Keep a back-up or two in case you screw up.
2) Replace the paths in the XML file with your preferred text-editor as detailed above.
3) Open itunes and go to file—> import. Find and choose your edited XML file.
For some reason, the XML file uses regular slashes ( / ) in the paths as opposed to the backslash ( ) that is used in windows explorer. In other words, use regular slashes ( / ) when replacing the paths or else it wont work.
...added by Andreas /// September 5th, 2006 at 04:16 AM
Great information. Thanks for sharing it here.
My question relates to limitations of size of library in Tunes. I remember reading a long time ago that there were issues. But I haven’t read much about that lately. Has it been resolved?
I see that others have large collections, which I am guilty of. Over the 40 Gig mark. Is there any danger in having a library that size? Is there any way to create more than one library?
Any information would be greatly appreciated.
...added by eli mina /// September 10th, 2006 at 00:54 AM
Eli: it’s said that iTunes can be a bit difficult to manage when the library’s size gets a big too much, but from what I can tell, it’s not that the app won’t launch or something—I know several people with enormous libraries (40GB+), using iTunes.
RE: using more than one library. AFAIK, there’s a way to do so, but only if you’re on a Mac—check out Libra.
...added by Konstantinos Christidis /// September 10th, 2006 at 14:39 PM
THANKS (From chile) it works,
From a PC to Ibook G4 the to a Ext. HD
Thanks again
...added by Benjamin Rencoret /// October 5th, 2006 at 20:27 PM
Sorry for my stupidity but I don’t manage this.
This is my “challenge”: My Music is located on a network drive. That’s a problem if I work offline. As iTunes does not offer an option to specify the iTunes Library path.
This is what I want to do: Install iTunes with the network connected and then migrate the Library (there are no music files yet) to a local drive.
But that does not work for me. I played around with you article ant tested with some music files. The files are stored correctly on the local hard disk drive but the Library used by iTunes is still on the network drive.
This is really driving me crazy. The first mission – storing the files locally – is accomplished. But that makes no sense for me as long iTunes uses the XML/ITL from the network.
Would be great if someone has the same problem and solved it.
Peter
...added by Peter /// October 24th, 2006 at 14:30 PM
This thread details a very clean way of moving the library without losing metadata. File > Export library, then in the new location, File > Import. Done.
...added by eric /// November 1st, 2006 at 03:16 AM
Eric: that’s if you let iTunes manage your music library. This HOWTO is about when you don’t let iTunes manage your music library.
...added by Konstantinos Christidis /// November 1st, 2006 at 10:17 AM
Thanks for the helpful information. As it turns out this also solves another problem that has been plaguing me. When subscribed to a podcast, if there is an error downloading an episode which subsequently has to be deleted, you can never get it back into the listing of episodes to download. By following the instructions here, not only does it not lose your previously downloaded episodes – it resets your episode listing to allow a re-download. Excellent!
Thanks again for the concise directions.
Simon
...added by Simon /// November 2nd, 2006 at 02:32 AM
I see that after copying iTunes and my music library to my external drive they’re synchronized automatically. Part of the point of me getting this drive was so I could delete some large movie files off my computer and just access the drive when I wanted to watch them. Do I need to delete iTunes from my internal drive and just hook up the external when I want to watch? Or is there some way to make them so they aren’t in sync so I can delete movies and TV shows from my internal drive yet keep the music on the internal drive, yet have everything on the external? Please help
...added by Samantha /// November 4th, 2006 at 09:53 AM
Thank you for the HOWTO, it was exactly what I was looking for. I do, however, have one question which might need to be addressed in your article as well. What will happen if you have iTunes set to automatically sync the library with your iPod? After you moved the location, will iTunes think your iPod is still up-to-date or will it start copying all files to the iPod again? With 40GB it will take a long time…
...added by Prodoc /// November 7th, 2006 at 00:02 AM
Also…
I just noticed there a ‘Previous iTunes Libraries’ folder in the iTunes folder containing a different .itl file again. How big is the chance it will use that file when the main .itl file is corrupted?
...added by Prodoc /// November 7th, 2006 at 00:07 AM
I couldn’t wait for an answer
Here are some findings using iTunes 7.0.2: – iTunes version 7.0.1 and later has ‘Gapless Playback’ support. When you performed the steps to move your music, all file will be analysed again afterwards. – I’ve got a ‘Recent Changes’ smart playlist which has two rules: ‘Date Added’ and ‘Date Modified’ both set on ‘is in the last 7 days’. The playlist works fine and doesn’t list the complete library. – From What are the iTunes library files? ‘If everything goes fine during your upgrade to the latest version of iTunes, you can delete the older iTunes Library files.’ Just in case iTunes starts using the backup .itl file after the move, you might want to move/delete/rename the ‘Previous iTunes Libraries’ folder. – For some strange reason the new .itl file is about 0.5MB bigger than the old one (5539 audio files in the library). – And here it comes… If you have iTunes set to automatically sync the library with your iPod… ALL audio files will be deleted from your iPod and transferred to it again…
...added by Prodoc /// November 7th, 2006 at 14:06 PM
For whatever reason, I tried this with Itunes 7.0.2 on a Mac, and it didn’t work. I was trying to get it to accept files on a newly-installed Maxtor NAS server that I got just for storing music. What did happpen instead is that Itunes ignored the XML file, and just created a new, blank library based on the default directory. The advice contained on this page to backup files is excellent for occurrences like this.
Pardon a mini-rant, but this is an excellent example of how Apple sometimes tends to treat users like idiots. Itunes works like a charm if you follow standard procedure, but if you want to do something slightly different like storing files on a networked drive—something I imagine many people want to do for perfectly innocent reasons—Itunes will fight you every step of the way.
...added by Alex /// November 19th, 2006 at 00:08 AM
Alex: these instructions have been written with iTunes 6 in mind.
I don’t know how well they apply to iTunes 7.
...added by Konstantinos Christidis /// November 19th, 2006 at 00:40 AM
I have been wanting to move my music files for a year but couldn’t find instructions for people who didn’t want to let iTunes manage their music. Your instructions worked perfectly with 7.0.2 for Windows. Thanks for the great article!
...added by coldtoes /// November 20th, 2006 at 17:34 PM
Thanks, that’s good to know!
...added by Konstantinos Christidis /// November 20th, 2006 at 18:44 PM
Windows user are lucky I guess. It doesn’t work on the Mac with iTunes 7.0.2.
Good reason for spring cleaning ehh.. rebuilding my playlists.
...added by aToMac /// November 20th, 2006 at 20:50 PM
You are a gentleman and a scholar. Thank you so much for this.
I’ve always understood this couldn’t be done. But I’ve just bought myself a Mac so I thought I’d search again and hey presto, the Windows to Mac conversion works like a dream. iTunes 7.0.2 on both Windows and Mac.
I am in your debt !
...added by The Beansprout /// November 22nd, 2006 at 23:39 PM
The Beansprout: thank you very much for your kind words, I appreciate them.
Glad the HOWTO worked out for you!
...added by Konstantinos Christidis /// November 23rd, 2006 at 00:01 AM
I ended up having to delete my library, and dragging the songs from the new NAS drive location into Itunes. I lost my playlists and ratings, but at least it now works like a charm.
... almost. With my really huge song files, the lossless ones, it is occasionally skipping. The smaller MP3s play fine. I’m using a Maxtor NAS drive and an Airport network… is there anything I could do to eliminate this problem?
...added by Alex /// November 23rd, 2006 at 05:44 AM
Looked for days for a way to move iTunes library without Consolidation ….and yours is the only POST…Thank You !!!
...added by Rich Antczak /// December 4th, 2006 at 23:29 PM
Rich: you’re welcome!
...added by Konstantinos Christidis /// December 5th, 2006 at 02:42 AM
Ok, trying iTunes, because Quicktime upgrade insisted on loading it. On WinXP Pro. I’ve avoided it like the plague because I refuse to use proprietary DRM formats. But thought I’ll give it a shot with my .mp3s
I keep a live USB backup drive and everynight I auto sync music, pics, and other important files and directories.
So iTunes carefully found the duplicate backup drive and added all those files again. So every media file I own is in iTunes twice. Great, no wonder this thing is so popular.
I’m sure I can blow the duplicate files out of the .xml file, but how do I keep the s/w from reading the backups again? Doesn’t seem to be a preference for identifying/restricting media locations.
I know I’m almost off topic, but this seems like a knowledgeable thread, can somebody steer me in the right direction or to the appropriate resources?
thanks brad
...added by Additional Question (related) /// December 14th, 2006 at 07:25 AM
Nice explanation.
I had read about the damaged itl, but couldn’t figure it out. I wanted to preserve the playcount, dateadded, lastplaydate, so that’s how I found this artilcle.
Anyways, I am going to write a program to sort out my music files by artists/cds and such but I have to move it first.
I tried these with iTunes 6.x a while ago, and it worked but the dateadded field was reset to that day in all my files. I tried it today with iTunes 7.0.2, and it still resets them. I can’t edit the xml, because it won’t read it again.
Has anyone found out a way to preserve the dateadded field?
...added by elcool /// January 5th, 2007 at 03:01 AM
hi how do u download itunes on my i pod? can u pleez help me
...added by alpha /// January 19th, 2007 at 00:39 AM
Thanks a bunch… it took me a while to find this page but theinformation was spot-on!
Many backups later, I’ve got my DB moved to a different drive and back in order! Thanks a bunch!
...added by g /// January 22nd, 2007 at 10:06 AM
Just did this with iTunes 7.0.2 on a Mac and it worked fine, except it still changes all the date-added timestamps. Which basically means that it doesn’t work.
Losing that bit of metadata isn’t acceptable, and I haven’t been able to find any solution that preserves it. The date-added timestamp is in the XML document, so there’s no reason it couldn’t be kept.
The only solution I can think of is to use the old library re-locate each missing song file manually. But that’s just not feasible for a library of more than a few albums.
...added by Ross Brown /// January 26th, 2007 at 03:20 AM
Ross Brown: When most metadata is preserved and I make sure to note that some attributes (including the “date-added timestamp”) aren’t, how can this “basically mean that it doesn’t work”?
Have you read the “Update” in Part 2, Step 8?
This article delivers what it talks about, so I’d say it works.
...added by Konstantinos Christidis /// January 26th, 2007 at 03:32 AM
Okay, this is crazy. I was annoyed because the technique described above reset all the “Date Added” timestamps and it also lost all the album artwork previously downloaded through iTunes. In search of a new technique, I put my original library file back into place in the iTunes folder on the new volume and opened iTunes.
When I double clicked a song to to play it, I didn’t get the “can’t find file” error message…it started playing! I did a get info on the file and it showed it located on the new volume. All my “Date Added” timestamps are preserved. All the album artwork is there.
So I forgive you iTunes 7.0.2. You’ve got some smarts going on. I don’t know how this worked, but I did notice that that my “iTunes Music folder location” had changed in my iTunes preferences. Previously I’d been using a symlink in my home directory’s music folder to get iTunes to look for its files on a network volume, but now its set directly to the path on the firewire volume.
After quitting iTunes, I opened up the iTunes Music Library.xml file and can see that the location string has been updated for the files I played, while others still show the old location. iTunes is being smart and looking for songs in the new location and updating its references. Awesome. iTunes is being smart!
So to summarize: – I store my music outside of the iTunes Music folder. – I was storing my music and iTunes library files on a network volume and using a symlink to trick iTunes into thinking it was in my home directory. – I moved all the music files and iTunes directory to an external firewire drive. – After my “iTunes Music folder location” got changed to the location on the new firewire drive, iTunes is automatically looking for my music files, finding them and updating its database without overwriting any of the metadata.
...added by Ross Brown /// January 26th, 2007 at 03:57 AM
Sorry for not being clear, Konstantinos. The XML search and replace technique works as described in the article. When I say “it doesn’t work”, I mean it’s not the ideal solution because one important bit of metadata is still lost. If I’m losing some of the metadata, I might as well be losing all of it. I refer to the “Date Added” all the time so I need a solution that preserves that.
Fortunately, I stumbled onto something that did that unexpectedly. I’m not exactly sure why it worked or if this is a new feature of iTunes 7, but I’ve got all my music on a different volume and the “Date Added” dates are unchanged.
...added by Ross Brown /// January 26th, 2007 at 07:41 AM
it worked! thank you very very very much.
...added by Christian SJ /// January 30th, 2007 at 20:30 PM
Ross Brown, when moving the files did you preserve the folders in the same way? and where did you leave the .itl and .xml?
Because I want to reorganize my music too, and if iTunes will look around the folders for the song, then you’ve just solved my problem.
And if I can change the song’s filename and it will find it too, that will be excelent.
...added by elcool /// February 3rd, 2007 at 19:18 PM
Wonderful! It works very well with iTunes 7.0.2. Great. Saved hours of work.
...added by Peter /// February 5th, 2007 at 11:49 AM
In need of advice! Given the expertise in this blog, I thought someone might have some great suggestions.
After buying a G5 iMac, I upgraded our old slot loading CRT G3 iMac to 10.3.9 and gifted it to my 10 year old iPod using daughter. We can’t easily network the older iMac (that’s another story, involving lightning and a fried Ethernet card). The problem is that music purchased through the iTunes Store can’t be played on the G3. I’ve tried importing the files into the G3 iTunes library and playing the songs through the iPod. In each instance, authorization fails because the machine is not networked. Are there any simple work arounds? I’ve also tried burning a CD of purchased songs, and these also required authorization to play. I realize that networking the old iMac using a USB wireless network is one way to go, but this is not an option at the moment.
...added by woogs /// February 11th, 2007 at 17:46 PM
I downloaded ITUNES in my work computer. I had folders and songs in it. I moved and i got a new computer. When I installed ITUNES in my new computer and hookup my ipod with it, it says that i will erase all the songs (every thing) from my ipod and i have to start over. I dont wana loose my songs and data from my IPOD is there any way i can upload songs/data without lossing my old one. Please help(step by step will be help full)
Thanks in advance.
...added by imran /// February 12th, 2007 at 23:40 PM
I don’t fully understand- do I do this from the computer I want to move my iTunes to, or from? And how does it exactly make iTunes move onto a computer on the same network?
...added by Jay Maison /// February 14th, 2007 at 01:55 AM
beautiful—i’d been looking for this info for weeks—great, and thanks!
Jay, above—sounds like you want to do automatic iTunes management, and not mess around with XML files.
...added by pinky /// February 17th, 2007 at 22:38 PM
what Ross Brown discovered is the following:
If you move a music file iTunes will notice that an update the path in your library automatically (this is even the case if you move a file to the trash, iTunes will locate it there and still play that track)
But: unfortenately this only works when you move a file within one volume
so it doenst work if you move a file from your local harddisk to a network volume or your external harddisk and vice versa
...added by Laurens /// February 28th, 2007 at 08:37 AM
For those switching to Mac and wanting to carry their music and library data over, I’d like to know if the following works (i.e. AFAIK nobody’s tested this):
1. blanking your “iTunes Library” file (on the Mac)
2. bringing over your “iTunes Music Library.xml” (from the PC) revised with the updated filepaths (for the Mac)
Worked just fine….. Thanks!!!
...added by aiko /// March 2nd, 2007 at 04:31 AM
I needed to update my iTunes file paths following my upgrade to Vista. (Have not seen Apple acknowledge this problem.)
Your instructions worked perfectly. One month after installing Vista, I’ve got control over iTunes again.
Thanks!
...added by Jonathan /// March 6th, 2007 at 04:58 AM
Hi
im not sure if this has already been asked but ive got a whole bunch of songs that will play on itunes and then skip halfway through to the next song, but when i play them on windows media player they work fine got any suggestions.thanks alot.
...added by Gambit 17 /// March 7th, 2007 at 19:35 PM
Much appreciate the helpful knowledge. Had been trying to Xfer library from old laptop to new one… all other sites leave out the consolidate library ” step… hence I’ve been left w/a massive playlist of my external HD…
Thanks again!
...added by mikalm /// March 8th, 2007 at 11:01 AM
I am trying to move my iTunes from one PC (both WinXP) to another and not lose the library information. Can anyone tell me if the “Part 1” at the beginning of this thread works for iTunes 7.0? I have my iTunes-ripped music and iTunes store music in my My Music/iTunes folder, but most of it is in the root My Music folder. I can consolidate the songs if that’s what I need to do. I think iTunes “manages” my library…I add tag data and so on to the songs in both the My Music/iTunes folder and the My Music folder. I just don’t want to lose the library data that I’ve added in iTunes.
...added by KKRip /// March 12th, 2007 at 03:48 AM
iTunes 7.1.0.59 on Windows
The regeneration works for the Music library.
Afterwards, it regenerates gapless and normalization (volume) at about 2 songs per second over 100mbit/samba or about 4 seconds per song over excellent signal 802.11g.
Browser is under “View” rather than “Edit”.
Podcast does not show up here, so they have to be manually resubscribed.
I’m assuming Audiobooks would also disappear had there been any.
...added by Josh-Daniel S. Davis /// March 16th, 2007 at 06:51 AM
Thanks alot! This was a great help.
...added by Anika /// March 17th, 2007 at 05:28 AM
I am also having the problem on my Windows system where the itunes will halt in the middle of particular songs and skip to the next one. Any ideas?
...added by Mark /// March 17th, 2007 at 15:38 PM
I think I solved this problem of particular songs “halting” in the middle of a playback. Create a new folder, called somthing very similar to the folder with the offending songs, copy all the first folder’s contents into the new one, go to itunes and delete the current versions of those songs, and recapture those songs into itunes. Worked for me …
...added by Mark /// March 17th, 2007 at 16:05 PM
I’m trying to solve this problem with itunes and i’m wondering whether anyone can help – i have tried calling the Apple support phone number but to no avail.
Most of my songs are located in the itunes folder but some are located in the shared folder (approx 2,000). One day, after playing a song in the morning the same song would not play in the afternoon. An exclamation mark appeared to the left with itunes saying that it was unable to locate song an would i like to manually locate. It transpired that all of the songs on the shared folder were apparently unable to be located. If I manually locate 2,000 songs this would take along time. If i transfer all the songs to itunes folder i lose all data that has been added to the library – most played/playlists etc. – which I really don’t want to happen.
Is there anyway I can transfer these files & link them up to the library, keeping the itunes data, without doing each song individually? Any ideas would be greatly appreciated….
...added by Daniel /// March 28th, 2007 at 20:31 PM
Hey, I have a notebook computer that has a c drive and a d drive.Previously everything has always been stored on my c drive including all my itunes crap. The c drive was pretty full, and my computer crashed, so i had to restore everything on the computer. I’ve been able to transfer my itunes librabry from my ipod to my computer but I am trying to figure out how to transfer all of my itunes stuff to the d drive of the computer instead of the c drive, will this method work for that too without having it automatically copy to the cdrive?
...added by Linda /// April 1st, 2007 at 03:00 AM
My old WinXP pc just died last week. I kept all of my audio files on a separate hard drive. I just used this tutorial to add all of my music back to iTunes version 7.1.1.5 on Windows Vista Home Premium. I’m missing the Date Added feature, but I’m very happy to keep my ratings!!!
...added by Sean /// April 4th, 2007 at 03:48 AM
I notice there is a Perl module called Mac::iTunes listed in CPAN that can read and write the ITL file. It would be great if someone wiser than me could write a Perl script to edit the ITL file instead of just destroying it, thus preserving all of the metadata.
...added by Michael Newton /// April 4th, 2007 at 20:59 PM
I tried doing this for my XP machine and with iTunes 7.1.1.5, and I had no luck. What iTunes did during the adding of the .xml file was completely rebuild the .xml file with the songs that the pathways were not affected by my hard drive crashing (which were only 30 of my thousands of song library). Becuase it rebuilt the library by itself, I no longer have the original .xml file to try again. Any thoughts…
...added by John /// April 11th, 2007 at 05:32 AM
Hello,
Thanks for the detailed advice. I tried it (on a Mac running iTunes 7.1.1), following your instructions to the letter, but when I opened iTunes, while it did recognize that the library was corrupt, it did not rebuild it from the xml file; rather, it simply created a new, blank library. Any advice on forcing it to use the xml file?
...added by Brian /// April 13th, 2007 at 04:50 AM
Tried it again using Text Edit instead of Word, and it worked. I think Word was doing some funky kind of automatic formatting to the xml doc when I saved it. Thanks a lot.
...added by Brian /// April 13th, 2007 at 05:30 AM
it works! god bless you
...added by danesh /// April 13th, 2007 at 08:59 AM
just wanted to say that this method works on osx86 installs too.
thanks for the steps, you saved me weeks worth of adding ratings to back my music!
...added by lord xeon /// April 14th, 2007 at 19:51 PM
THANK YOU VERY MUCH FOR THIS
I thought I had lost years of ratings, playlists, play counts, etc. until I found this fix
You’re a godsend
...added by steve /// April 15th, 2007 at 20:46 PM
Hi,
I am looking for a similar method to move my entire Windows Media Player library to another hard drive, whilst retaining all the name changes and such that I have made.
I am looking to format the hdd I am currently using for my music (and only my music) as FAT32 so I can install Ubuntu and mess about with it.
I would really rather not have to go through all the songs I renamed once upon a time, and rename them again, it took long enough the first time!
I played around with creating a new playlist with my whole library and editing it, but it only saved the location of the songs, and not any other data.
If anyone has done this, or knows of a way I would be VERY appreciative
thanks,
pilch
oh, and a great article btw, it’s a shame I prefer WMP to iTunes
...added by pilch /// April 23rd, 2007 at 02:45 AM
hmm, I take back that last post, it seems in my reluctance to commit to transferring my music, I was blissfully unaware of the fact that WMP is rather clever and picks up any changes whilst leaving everything as it was!
All hail WMP, king of music libraries
In truth, I only prefer it over iTunes because it organises things sensibly, and makes finding things oh-so-easy. version 10, of course, 11 is even worse than iTunes in that respect!
...added by pilch /// April 23rd, 2007 at 03:05 AM
My xml and itl accidentally got deleted (my iTunes was on a shared computer, hence my desire initially to move it.) The library is intact…is there any way possible to salvage the scenario…perhaps get it off the iPod?
...added by Teamm /// April 28th, 2007 at 20:11 PM
You rule, works a treat, thanks you just saved my day!!!
...added by JoE /// May 7th, 2007 at 12:29 PM
I have read this guide, but I have been thinking about addressing the problem from a completely different angle. I haven’t tried this, but would appreciate some feedback on whether this would work or not.
I will eventually get a new computer and some day need to move my itunes library. I also fall into the category of not allowing itunes to manage my music. I have two hard drives and my music is stored on D:
However, rather than using a text editor to edit the xml file and redirect itunes, my theory is that it would actually be easier to simply move my mp3s to an identically named location on the new computer. eg. old computer d:mp3s—> new computer map new d: and add mp3 folder. this would seem to eliminate the need to edit the xml file and itunes would not have to “find” the files because they are in fact the same location as the original?
comments and criticisms very welcome
...added by Peter /// May 11th, 2007 at 04:14 AM
Peter: after some veeeery quick and superifical thinking, I can’t see why this wouldn’t work.
Let us know how it goes.
...added by Konstantinos Christidis /// May 12th, 2007 at 20:17 PM
Thanks for the great info!
Just wanted to add my experience to this thread. I just moved my iTunes library from Windows XP to my new MacBook Pro. I followed the suggestions here, but for me at least, it didn’t work. I’m using iTunes 7.1.1 (the latest version as of this writing) and when you wipe out the contents of the itl file, it doesn’t rebuild it, it just creates a new file with empty contents (after prompting you that it is corrupt). So here’s what I did, and it seems to work.
First, I updated my Windows iTunes installation to the same version as the one on my Mac (7.1.1.). This was to ensure that the file formats would be compatible. I copied all of my music to an external hard drive. I opened the xml file into a text editor and replaced all the paths with the location on the Mac where I planned to store the files. I then copied the modified xml file to the external hard drive as well. Then I brought it over to the Mac, copied the music files to the predetermined folder, and copied the xml file to the ~/Music/iTunes folder (after deleting the existing one). Then I deleted the contents of the iTunes Library file as suggested. At first the automatic rebuild didn’t work because I blanked out the file using TextMate. On a second try, I used plain old TextEdit and that time it worked. It had to restore Gapless Playback Information, but all the files were imported into the library and all play counts and play dates were restored.
Thanks so much!
...added by Matt /// May 12th, 2007 at 23:44 PM
Oops, should’ve edited my comment more clearly before posting… In the first paragraph I state that it didn’t work. What I meant was it didn’t work at first because TextMate wasn’t effective at fully blanking out the file. Using TextEdit it worked just fine.
...added by Matt /// May 12th, 2007 at 23:46 PM
Matt: thank you for the detailed wrap-up, appreciated! And glad the HOWTO was helpful!
...added by Konstantinos Christidis /// May 13th, 2007 at 05:10 AM
I am trying to do this hack but am running into problems due to the file size. I have 17,000 + songs in my library which weighs in at 99 Gigabytes (not sure that matters). the itunes music Library is 25 MB. I am able to open the XML file in Wordpad and Notepad. However, when I try to do a global search and replace as suggested above, the editor just craps out and crashes. I even went out and bought new RAM and increased my physical RAM from 1 Gig to 3 Gigs—same problem. Is there any way to trick the computer by adding virtual memory so that I avoid the crash? Anyone else run into this? The alternative is cutting and pasting 17,000 times—which given how much time I’ve been struggling with this, I might be finished with by now. Appreciate any suggestions
...added by Bruce C /// May 13th, 2007 at 06:21 AM
Bruce: hmm, that’s a bummer. Maybe try a different text editor? EditPad Lite and Notepad2 are two excellent, free text editors.
...added by Konstantinos Christidis /// May 13th, 2007 at 18:13 PM
Konstantinos:
Rock on!!
Edit Pad Lite did the job in microseconds.
You might want to include a notation above that if the iTunes library is humongous like mine to go straight to Edit Pad Lite— don’t stop at Notepad or Wordpad. Edit Pad opened the file instantly and did the S&R almost as fast.
Thank You, Thank You.
...added by Bruce C /// May 15th, 2007 at 00:55 AM
Bruce: excellent, nice that it did the job for you.
Glad I could be of help.
...added by Konstantinos Christidis /// May 15th, 2007 at 17:30 PM
My problem is different, I think, than what’s been covered thus far: when I first installed iTunes it scanned my entire computer – that read my backup external drive, too! Therefore, my iTunes library has 2 copies of every music file I have, and I can’t load my iPod. (I have over 2000 music items…)
I really need some way to purge all records/references in my iTunes library of the “J:” items. Or, lacking that method, I need to reload (rebuild) the iTunes database while I have my external drive (J:) manually turned off. I tried to erase the .itl & .xml files and reinstall iTunes, but that failed to do anything.
If I could find the record format of the .itl file I could probably write a C/C++ program to purge the J: items, but I’ve been unable to find that information. Even with that, I’d still have an almost impossible issue with the .xml file, since there’s no way I can see to “edit out” the packet references to J: ...
I’d appreciate any thoughts on what I can do with this problem. TIA
...added by Mike Copeland /// May 17th, 2007 at 02:58 AM
Mike: I doubt you’ll be able to discover the record format of the .itl file. Easily, at least.
When you completely uninstall iTunes (both the app and the library data, etc.) and you re-install it with the external drive off, what you do you get when it scans your computer?
...added by Konstantinos Christidis /// May 18th, 2007 at 00:02 AM
Ohmigoodness!!! I’m so computer dumb I(but I’m blonde so I have a good excuse). I’m very scared to try this as what happens if i muck up and lose all my songs?My itunes has so many songs I’m sure it’s slowing down my PC laptop. Is there any way that I can put all the songs (that are stored on my PC for itunes) onto something that i plug into my laptop when I want to listen to itunes? hmmm did that make sense??
...added by Melissa /// May 18th, 2007 at 11:48 AM
Melissa: hmm, I see what you’re saying but it won’t work I think.
I mean, of course you can move your songs to an external drive without losing all of the metadata, ratings, etc. on iTunes (that’s what this guide is about after all; make sure you backup everything first!).
But if iTunes is consuming resources from your computer when it’s open due to the library size, it will do regardless of whether the songs are located on the internal drive or on an external one.
Did that make sense?
...added by Konstantinos Christidis /// May 18th, 2007 at 13:41 PM
I have moved from a Mac to a PC (temporarly…!) and I don’t know what I’m doing wrong, but after the edited .xml file get’s imported all my files have been converted into radio streams. An example string in the .xml file looks like this now:
c:/Music/Alben/50%20Cent%20-%20The%20Massacre/50%20Cent%20-%2001%20-%20Intro.mp3
Is this correct?
the original looked like this:
file://localhost/Users/weilandh/Music/Alben/50%20Cent%20-%20The%20Massacre/50%20Cent%20-%2001%20-%20Intro.mp3
thx for any help!
...added by FrequentFlyer /// May 23rd, 2007 at 05:14 AM
FrequentFlyer: you’ve got the Windows file paths wrong. The forward slashes (”/”) should be replaced with backward ones (”\”).
...added by Konstantinos Christidis /// May 23rd, 2007 at 12:07 PM
K – Wouldn’t I have to manually change all subfolders though, because only the mainfolder is consistent in its path(and therefore easy to change with find/replace)
so (c:music) is clear to me. What about something like (c:musicalbums50 CentMassacre)?
thx & sorry if this should be an ignorant question
...added by FrequentFlyer /// May 24th, 2007 at 18:24 PM
FrequentFlyer: hmm, good point.
I don’t know how you could work-around that.
...added by Konstantinos Christidis /// May 24th, 2007 at 20:58 PM
I was wondering if someone can tell me how to make separate folders for separate genre or artist or movies??? i tried so many different ways on ITunes but it wont let me.
Thanks
...added by Nina /// May 27th, 2007 at 04:41 AM
I have done this four times now, both PC to PC and PC to Mac. Seems to have worked pretty much as stated every time. Thank you so much!
...added by Carl /// June 4th, 2007 at 03:47 AM
hi, I came back in search of an answer for the DateAdded problem still. I sent an email to Apple about this too.
Almost 5 months and no answer found for that. I’ll give it a while more, if not I’ll accept the loss. I can’t do what Ross Brown found, since I have music in different hard drives. (The purpose of this is to get them all together in one.)
Nina, the only way to do separate folders is for you to manage your music, iTunes doesn’t separate it by genre. I think it does by artist/albums, but thats it.
...added by elcool /// June 5th, 2007 at 08:03 AM
Nina: if your subfolders keep the same convention in terms of organisation (such using artistalbumtrackname.mp3), then only the main folder’s path needs changing. If you cvhange your subfolder organiastion, then you would be bect off writing a simple program to change the records (trivial if no information is added to teh path which is not already in the libriary, but rather more difficult if you are relying in the ID3 tags in the files).
Mike Copeland: I don’t know about C(++), but in Java it would be simple to write a program which would use the String.indexOf(String) method on the index to find instances of file://localhost/J:/, then using the same method find the … which immediately precedes the tag and delete all teh data from there to the next tag. this would be inneficent, and take a long time to run for a large file, but could be left to run without supervision
To get the tracks off of an iPod, I believe that you can import the folder, asking iTunes to manage the files, meaning it will copy the files to the specified location on your HDD. Alternaltively, you could use PodPlayer to extract your entire iPod to any specified location, adn use your own subfolder path created from the tags on teh iPod.
Personally, I prefer Winamp to manage my media library, because of the intuitve UI, low memory profile, and above all the use of a scratch playlist (which iTunes lacks and WMP handles so badly as to make it worthless), its skinnable nature. For sycnhronisong my iPod with my Libriry, I use vPod, which can be used to add music from anotehr computer to an iPod without needing to synchronise the rest of the library. It is also small enough to store on the iPod, and needs no registry entries
...added by |333173|3|_||3 /// June 5th, 2007 at 18:21 PM
Thank everyone, I will try it.
...added by Nina /// June 8th, 2007 at 05:46 AM
I did the same thing Part I and Part II till replacing names in iTunes 7. But unfortunately it loses all its music from the new iTunes folder(E:iTunes) . So when I added the ‘Add folder to Library ‘’ and selected ‘E:iTunes’ everything comes into the same settings as before. I don’t have to do the genre thinhs to assign podcasts. But it automagically takes the podcasts to podcasts and music to music, and organised same as before !!!. One thing I had to do is just click subscribe on the subscribe button after each podcast in podcasts menu.
But unfortunately It didn’t remember the video files which were Music Videos and which were TV Shows. It just took all the video files as Movies. So I had to do the annoying changing Movies to MusicVideos and TV Shows.
Is there any simple ways to do that ?
...added by Jubair /// June 18th, 2007 at 09:43 AM
Just migrated from WinXP to Vista – iTunes 7.2 – this worked perfectly. I had some music in the iTunes library and lots in the “all usersmy music” folders in XP. copied everything over to the new system and then ran a search and replace with EditPad Lite in the xml – just as suggested, inserting the new Vista directories. iTunes actually crashed the system the first time, so I had to re-copy the iTunes library files, and try again. Second time it worked.
I’ve got about 6,000 tracks and they all appeared perfectly in the library, along with all playlists, etc.
don’t forget to go to Preferences and click “show” for audiobooks and games (I thought mine hadn’t imported, but I just forgot to set all the options in my newly installed iTunes).
I had to drag my podcasts folder into iTunes manually, but they all showed up and now I’m re-subscribed, and all is working well.
Preserved playcounts, ratings, last-played dates, everything.
Good luck to everyone else!
...added by Neil /// June 18th, 2007 at 22:23 PM
Hey there, I have been doing this trick for a couple years and have had a lot of luck, I just however tried to do this with some really bad results and thought maybe someone can point me in the right direction.
For some reason, when I ready my XML (which is intact) and clear out my itl, then load up itunes, it only grabs about 900 or so of the 3000+ songs in the library? the number of songs it grabs seems to change each time I attempt it.
I’ve always had stellar results? I dont know what might have changed, other then the version of itunes. Anyone see similar results?
...added by paulzy /// June 19th, 2007 at 23:51 PM
Fabulous stuff.
What if I have 3 separate iTunes libraries that I want to consolidate (one desktop, three separate users, added an external drive)...
a) move the libraries into one location
b) append the xml files together
c) do a find/replace and point to new location?
Or is this too complicated, worthy of another tutorial?
...added by JeffF /// June 26th, 2007 at 23:08 PM
Jeff, hmm, I don’t have an XML file handy but if there’s no “index” in it (an integer number that’s increasing with every entry), maybe you could do it.
It’s all theoretical though.
...added by Konstantinos Christidis /// June 27th, 2007 at 00:40 AM
Good point, KC.
I did a quick podcast download on my itunes, opened up the xml file, and unfortunately it does have some index number:
Track IDn
It is this Track ID integer that references that particular track with the Playlist.
Will play with it a little more…
...added by JeffF /// June 27th, 2007 at 01:17 AM
Jeff, if it has an index I’d be very cautious with proceeding. (And I’m doubtful it would work.)
Back up twice, and keep us updated!
...added by Konstantinos Christidis /// June 27th, 2007 at 02:05 AM
Jeff
You can add all the xml files, be sure to place the tags where they are supposed to be. Then, run some script that changes the index(Track ID) on the xml file, so no files have the same number.
If you have manual playlists, you need to update the indexes of the music there as well, or you could delete the playlists and rebuild them later within iTunes.
...added by elcool /// July 8th, 2007 at 19:19 PM
Itunes disorganized my libary. how do i get it back back to the way it was?? i like it to be in genre then artist only. it made another folder in which what album its in. how do i get it just to be organized in genre then artist only??
...added by Itunes disorganized my libary /// July 9th, 2007 at 01:11 AM
well its not the libaray that is disorgainzed. it was the folder inwhich the songs are in. i went to edit then preferences, then to general and check the keep my itune music organized. after that it disorganized it in there. how would i get it back to normal.. with just the genre folder then all the artist in that folder.. instead of artist then album? i have 4000 songs i was doing them manual but then i gave up.
...added by Itunes disorganized my libary /// July 9th, 2007 at 01:21 AM
Itunes disorganized my libary: use a proper name, take a minute to write a proper comment (punctuation, etc.) and then you’re welcome to submit it.
...added by Konstantinos Christidis /// July 9th, 2007 at 03:15 AM
Thanks author for the helpful information. This is what i was looking for long ago.
I need to update my (iTunes) file paths following my upgrade to Windows Vista
...added by Mike /// July 11th, 2007 at 20:59 PM
I had a completely full ‘C:’ drive and had already tried moving the music files to my external hard drive “E:”. Much to my horror, when I deleted a folder containing just the music files from my ‘C:’ drive, all the music disappeared from my iTunes. I found these helpful instructions, discovered the (still undeleted) iTunes Music folder and the libraries, and moved these over to the E: drive. The ‘automagic’ restart did not find them, even when I tried to use ‘consolidate’. I tried ‘import’ also, no luck. Tried viewing the XML file, and it only had the 15 files in it I downloaded after I deleted the music files (part of a new TV series I was in the middle of downloading when I discovered the lack of space problem on my C: drive). I had decided that downloading version 7.3.1 might help me solve my problem and so the XML file had been over-written on the install. Still, I found one more option: “Add folder to library” worked – I added the newly re-located ‘iTunes Music’ folder and all my 5250 songs and 330 podcasts were added to iTunes in this process, plus all the TV shows I had downloaded this past year. Thank you so much for this resource!
...added by Pamela /// July 13th, 2007 at 11:38 AM
I recently switched laptops and I downloaded iTunes onto the new one but I’m not sure how to transfer the songs from my old laptop onto my new one. I don’t know if the steps at the top of the webpage apply to me. Please help!
...added by amber /// July 23rd, 2007 at 23:57 PM
I did this with iTunes 7 and it worked like a charm…thanks so much.
...added by Javier /// July 26th, 2007 at 01:03 AM
I’ve been reading through this site and I’m finding some of the terminology surpasses my knowledge. For example: what is an xml?
So, I’m not sure if you have answered my questions in this blog or not. Here’s my issue: my CD collection has been ripped into Media Player. A friend also added her music into itunes. After I had a full system restart on my computer, the music files were added back in. MediaPlayer grabbed all its music without a hitch. itunes didn’t. itunes doubled up files and most of them show up as corrupt. I would love to be able to take all the albums from itunes and import them into MediaPlayer. Is this possible? Many thanks.
...added by NEIL /// July 28th, 2007 at 07:08 AM
I like this article very helpful…but i have a problem…maybe a year or so ago i had all music on an external HD and then I got a very large internal HD so i moved the music onto that…so basically all the music in my itunes library showed up with the exclamation marks. So basically I gradually (over the past year or so) manually would browse for each file using itunes and so link it to my library once more…it’s been almost a year now and I still have tons and as you can figure very tedious and time consuming…So would the method you described above work for someone like me who has pretty much manually browsed and added most of my music already and would just like to have the hundred or so remaining songs with exclamation added to the library quickly?
...added by Terrence /// July 28th, 2007 at 08:55 AM
i am trying to move my itunes library from my hard drive to an external one. However, I run two ipods from my itunes, one which is organised by itunes and the other i manage manually. Should i follow the instructions for ipods where music is manually managed? can anyone help?
thanks
an IT ignoramus
...added by Bill /// July 31st, 2007 at 17:06 PM
Maybe you’re on a summer vacation or you have found love or even maybe your computer is being held ransom. If so I feel terrible to throw my “what could be to some insignificant” problems your way:). But please help! I’m out of touch with 3000 songs. (Oh, how I miss thee). Even just a clue about how to get back my i-tunes. Please see above posting.
Thanks
NEIL
...added by NEIL /// August 8th, 2007 at 04:53 AM
I personnally proceed as following:
– sync my ipod with iTunes – move my library from my iPod to the other computer with CopyTrans http://www.copytrans.net/
...added by Bob /// August 8th, 2007 at 13:56 PM
This doesn’t work for me. Neither steps. I’m usind iTunes 7, mabe that’s why. Any other suggestions?
...added by Mitsuki /// August 10th, 2007 at 05:49 AM
I am not sure if it is appropriate to ask, but here goes. Is there a way to build two different libraries with iTunes? I had a library with tunes in it. My wife wanted me to copy music and load her ipod. I didn’t know how to do that without wiping the old library and making a new one with her music. Please help.
...added by William Friel /// August 15th, 2007 at 03:09 AM
Beautiful, works with iTunes 7.
To William Friel above, you have to create a new account on your PC (one for you, one for her), install a new copy of iTunes and maintain her own separate library under her login. You can both use the same music, it just creates a new index file for her.
...added by Michael S /// August 17th, 2007 at 12:14 PM
Thank you very much for this article. This has resolved a problem I had with iTunes and saved me hours of work and frustration.
...added by James /// August 31st, 2007 at 09:49 AM
Worked like a charm! Took a while to copy 60+ gb to my external and than over to my new pc, however. Everything worked just as written. One difference was that my podcasts were for some reason not imported. I had to add them to the library through itunes from the folder they were stored in. They went right into Podcasts under the Source though, so it all worked pretty well. Thank you million!
...added by Mike /// September 3rd, 2007 at 23:22 PM
hello!
This procedure isn’t necessary any more.
I’m running iTunes 7.4.1.2 and I’ve been waiting to move some podcasts over from my old laptop over to my new desktop. To clarify: both machines are subscribed to the podcasts, but the laptop I don’t use so it only has the old podcasts on. And I want these old ones moved to the new computer.
I don’t let iTunes manage my MP3s, HOWEVER all podcasts are obviously stored in the default iTunes music folder. So I just copied all the podcast files in there, to where other (but different) episodes from the same subscription existed.
If I go to File > Add Folder to Library (or File > Add File to Library, or even File > Import if you like), these files can be imported correctly to the library, and they appear in Podcasts (not Music) and are also nested under the correct subscription.
They will be marked as unplayed, but other than that, your procedure doesn’t seem to be necessary any more and two sets of podcasts can be consolidated without troubles
...added by Beej /// September 10th, 2007 at 02:36 AM
Sorry for confusion – this is for manually merging podcasts, that’s all I tested.
Last time I merged libraries, I started with a blank library, reimported the entire library, and used RatingMerge.
...added by Beej /// September 10th, 2007 at 02:39 AM
No need to do anything with the itl file.
1. Trash the iTunes Library (itl) file.
2. Do a Find and replace in iTunes Music Library.xml
3. Within iTunes, File/Import… and select iTunes Music Library.xml
4. Wait
5. Done
...added by Magnus /// September 10th, 2007 at 15:29 PM
I have two user accounts on the same computer sharing the same iTunes library, when upgrading to the latest iTunes I did it from the “wrong” account. iTunes made a new itl file – but couldn’t save it.
Thus I had to switch to the other account and import the xml file manually (before doing so I did a find/replace in the .xml file to fix some issues).
...added by Magnus /// September 10th, 2007 at 15:34 PM
Thanks a lot!!
This is a powerfull tip!
...added by Andrea /// September 13th, 2007 at 15:43 PM
ok i still seem to be struggling with the whole thing.
i have used itunes for quite a while on a windows pc without letting it manage my music library.
now i am switching to a macbook. i put all my music from the windows pc and including the itunes folder that has the .xml and the .itl files in it on an external hard drive and then on the mac. then i replaced the locations in the .xml file. i entirely emptied the .itl file and erased the .itl extention (which mac doesnt have) and then started itunes and clicked on “import” and chose the edited .xml file. itunes found all the music including genre and rating but without the play count and the “last played” entry. what am i doing wrong? i never get the message that the itl file is missing/corrupted. what am i doing wrong?
thank you anyway for a great howto which at least got me closer to solving the problem than any of the information i had found so far.
all the best from germany,
ben
...added by Ben F. /// September 15th, 2007 at 20:47 PM
finally got it to work. thanks for the great howto!
switching from windows to mac it’s apparently important to use the music folder itunes has selected in the beginning . . .dont know why but i didnt work for me otherwise.
...added by Ben F. /// September 19th, 2007 at 11:36 AM
Just did this successfully from a PC to a Mac. Thanks so much for the step-by-step—this is huge.
...added by brc /// September 20th, 2007 at 19:51 PM
Ben F:
It’s important to have the same folder names, but in preferences/advanced you can set any place you wish to have your music library reside. I use both internal and external depending if it’s for my Ipod library or my AIFF big boy home use (server) library. You most likely know this-but if you don’t you do now. Welcome to the Mac world!
...added by David V /// September 22nd, 2007 at 02:56 AM
You can also use a software utility I wrote after Googling and finding this (and a few other) article. The iTunes Library Mover automates all the manual part of copying or moving your library and has video tutorial to walk you through the process.
Thanks for your tips… I couldn’t have created the software without this page.
You can download and use the software for free at http://www.get411.com. Feel free to distribute it and share with anyone you want.
...added by Matt /// September 25th, 2007 at 06:49 AM
myfreepaysite members area login
...added by Ron /// September 28th, 2007 at 12:33 PM
I have had NO luck with moving my IPOD music folder. When I click the “Change” button and change the directory to another hard drive, it always comes back. When I click “Copy Files to iTunes Music folder when adding to library.” it stays that way for the duration of my iTunes session, but the next time I start up iTunes, it’s back to the original setting. I’ve tried this MULTIPLE times. Now, get this, if I edit my Itunes Music Library.xml file to include the new folder, delete the contents of the Music Library.itl file, then rename all references to any duplicate or similar files to filename-old.itl or xml. iTunes does dutifully re-create it from the xml file and ask me if that’s okay. But the next time I start iTunes, the old file location is back. From where, I have no idea. It is truly driving me crazy. It should be a simple thing, no? Why is it so difficult, or in my case, impossible? Any help would be appreciated.
...added by Barry Glick /// October 4th, 2007 at 00:46 AM
had seen this link much earlier and it took a while to find it again but – the steps worked great! only one curiosity – some range of artwork / cover art is missing ??? on my Mac machine it is all there but now on the PC much is missing? on the Mac i used Clutter after one try with iTunes’ own find art feature. after all i’d read way back then i’m not really attached to try to get artwork back but just mostly curious what happened? or perhaps the better question – where does the art work live – via clutter vs iTunes ??
...added by red tires /// October 5th, 2007 at 15:53 PM
Thanks alot. This article really helped me alot. Bless you.
...added by kevin.h /// October 5th, 2007 at 18:51 PM
Thank you SO much! This was just what I needed. A tip for anyone else:
If you’re moving from a general music folder to more custom ones (for example, I alphabetized, so I had folders A, B, C… by artist), you’ll need to go one step further with the find/replace. I did find Music/A and replace with Music/A/A for this. That way, if you have an mp3 that starts with “A”, it will move it into the “A” folder. One more tip – actually erase the contents of the itl file, don’t just delete it. Otherwise, upon opening iTunes, it just overwrites all your hard find-replacing work and you have to do it all over again like I did. But regardless… it works! Thank you!
...added by Heather /// October 20th, 2007 at 02:32 AM
I can’t get this to work on iTunes 7.4.2 – I’m moving from my PC (iTunes v. 7.4.3) to my MBP. All the music is on an external, but I’m getting the error that the library file was corrupted, and it then shows 5,000 fewer songs than I know I have. Any ideas?
...added by Ross /// November 3rd, 2007 at 01:43 AM
Hey Konstantinos, Schmolle, and Simon – Thanks for a Great Great Tip!
A nice side effect of all of this is that I can connect and manage my iPod to multiple machines, now that they all use the same library on my NAS storage.
Sorry if this is repeating a comment already made, but the list of Thank Yous is (understandably) quite long now.
Once again, cheers for the tips.
...added by Sixmillion Dollarman /// November 12th, 2007 at 12:10 PM
Sixmillion: thank you for the kind words!
...added by Konstantinos Christidis /// November 12th, 2007 at 17:24 PM
I’ve read both this article and the one initially posted by Schmolle, and I think I’m going to give it a try, as I can’t bear submitting to the organizational style of iTunes. However, I’m not merely relocating to an external drive – I also then want to copy all my files onto the hard drive of a new computer (Windows) and access all the files + data in an iTunes program running on that machine. So what are the extra steps I take after I’ve relocated to the hard drive? Do I just add all the music, and trust that iTunes will recognize play counts because the .xml file is already present, or is there more to it?
Thanks, this article has been extremely hellpful.
...added by Jess /// November 23rd, 2007 at 00:57 AM
I just found this article and comments and am thankful. I am building a very large iTunes library on a pc using XP. The library is 75 gigs now and I expect it will be 3 or 4 times that when I have loaded all my cd’s into it. From reading the comments I understand that there is a concern about library size, that iTunes can’t hanclle large libraries. I am running 7.5. Am I heading for disaster? Also, is there a way to edit the genre list – I have added new genre names along with some typos and would like to clean it up. Thanks for this site.
...added by Jim McGiffin /// November 26th, 2007 at 21:23 PM
Jim: iTunes gets sluggish as the library size increases, there’s no way to work around that, I think.
As for the genre question, click on the misspelled genre’s name in the respective ‘Browser’ column, select all the tracks that belong this genre (click on one, then Ctrl+A) and right click to edit the info. Write the new genre’s name in the respective field, click ‘OK’ and you’re done.
...added by Konstantinos Christidis /// November 26th, 2007 at 23:54 PM
I am trying to organize my videos. How do I move the music videos to the music video? They all import in to the movies and will not allow me to import to the correct file. I am using 6.5 versions of Itunes. I had conflicts with the 7. Newer version. I will upgrade once I can get the conflicts resolved. I am using XP Pro .
Thanks I have learned allot from this website.
...added by Gail /// December 2nd, 2007 at 17:17 PM
Thank you so much!
...added by CK /// December 9th, 2007 at 00:46 AM
Just did it on Itunes 7.5 after a replacement of my Mac Pro by apple due to failure of the power unit.
so Mac DP2.5Ghz G5 to Quad2.66 G5 WORKS!
Ran the transfer from a dmg file of previous hard drive contents…with over 22,000 songs and 90 GB of music it took a while but was a great success
Thank you
...added by Eric /// December 9th, 2007 at 08:08 AM
Eric: you’re welcome, glad it worked.
...added by Konstantinos Christidis /// December 9th, 2007 at 18:05 PM
That was very useful, thanks!!
...added by edunmc /// December 10th, 2007 at 00:27 AM
hey, i kinda have a similar problem. my C drive was running outta space so i just dragged my itunes forder to D drive, thinking it would clear up some space, it didnt. I had not used it sice then but when i connected my ipod yesterday and and when into itunes i could not get anything to work, i couldnt play songs, import and when i went into the music part all the songs where grey and could not select them. i tried moving the folder back to its origional place but since iv no space it didnt work.
Has anybody got the same problem or does anyone no how to fix this???
...added by johno11 /// December 31st, 2007 at 15:56 PM
Date Added was a field I used a lot for playlists, but since I used this great method to move my files, I’ve started using the Date Modified field…this is actually my original add date, so all is well for me.
...added by chas /// January 5th, 2008 at 06:35 AM
This tip was perfect! My old computer’s motherboard got fried and I bought a new computer. I was able to save the hard drive with all the data, but I was definitely NOT looking forward to purchasing the music again or manually locating each file one at a time on the hard drive. This tip was a dream come true! In just a few minutes I was able to change the XML file, wipe out the ITL file, and iTunes automagically found all the files! It’s bad enough to switch computers, but this was an upgrade from XP to Vista and everything is new, so this was fantastic! THANK YOU!
...added by Steve G /// January 14th, 2008 at 08:49 AM
Thanks for the guide it was really helpful. The only thing different that I experienced was that the podcasts didn’t show up in my library (3-4 episodes did), but the rest of the episodes were moved to a playlist (on the left pane).
Thanks again.
...added by Vijay /// January 16th, 2008 at 08:25 AM
Oh. One other thing. I had two .xml files:
1) “iTunes Music Library.xml”
2) “iTunes Library.xml”
iTunes Library.xml was modified more recently and idid infact have the more recent updates, so I did the find and replace of the path on this file.
When I tunes reopened it worked of the the older (unchanged) “iTunes Music Library.xml”. So I had to re-erase the .itl file and rename “iTunes Library.xml” to “iTunes Music Library.xml”.
Not a big deal. In fact, someone may have already added this comment. I have to admit that I got impatient and didn’t read through all the comments.
...added by Vijay /// January 16th, 2008 at 08:33 AM
Vijay: thank you for the detailed follow-up; appreciated!
...added by Konstantinos Christidis /// January 16th, 2008 at 16:00 PM
You can do the same without XML editing. Just export to a TXT file, then edit it with the note pad and then in th new computer import with iTunes the edited TXT file (after you placed the files in the new location). Thats it. I did it and it worked but again some things are lost: podcast subscriptions, last date played (ratings and play count remained intact!), etc.
...added by Lucas /// January 21st, 2008 at 03:07 AM
Hi everybody:
I’ve been through this migration issue a few times now, as I have moved a sizeable iTunes library (not managed by iTunes) among a few external drives.
I was delighted about a year ago to use this general workflow, “globally-replacing” the directory path in the XML file, the “old” one with the “new” one.
Alas, this isn’t working for me any more. I’ve tried a few different approaches but one of two things happens:
1. if I don’t gut the iTunes Library file (Not the XML file; I’m on a mac, btw), then all of the new directory paths are magically overwritten back to the old directory paths. I kind of understand that this is maybe b/c the “old” directory paths are preserved in the Library file.
or
2. if I DO gut the iTunes Library file, after the XML rebuild and notification that my Library file is corrupt, then I wind up with a library that has NONE of my ext. drive songs (which is the bulk).
I am stumped. I’ve carefully made sure I’m correctly globally-replacing the directory paths (over 17,000)..
I’m wondering if something has changed in iTunes that’s preventing this. I did this successfully about a year ago, as I said.
Anybody else having this problem? Has nobody written a utility yet for Mac to move an iTunes library but preserve playlists, etc? It’s crazy that this is so challenging.
Yours in reasonable competence and savvy,
Mick
macbook pro. os 10.5.1, iTunes 7.6
...added by Mick /// February 1st, 2008 at 16:57 PM
Hi y’all:
scatch my previous post.. After hours and hours of trouble-shooting in the wrong directions, I realized that I had, IN FACT, been using the wrong directory string. DUH!
This workflow works just fine for me.
mick
...added by Mick /// February 1st, 2008 at 17:46 PM
Mick: glad to hear you got it working!
...added by Konstantinos Christidis /// February 1st, 2008 at 21:33 PM
Hiya… When i decide to sync my itune from another computer, i did not consider this itune library and lost my ratings etc.. but thanks to your article (on 2nd attempt) it work! I noted that the search string that have to be considered in my case was different from the e.g. that you have. Previously I was using local hdd, F:ipod but then I switch to a portable hard disk, F:desktopIpod . What I realise is that the search string i had to use was F:/ipod replaced with F:/desktop/Ipod… And the search string had to follow the tags used in the xml file of the songs in the library, else it failed. I think that is why i failed on 1st attempt. But thank god, 2nd attempt work and I have an itune that looks the same as before!! Thank you Konstantinos!!
Madxkatz on itunes 7.6 (feb 2008) on win xp (formerly Vista)
...added by madxkatz /// February 11th, 2008 at 16:50 PM
madxkatz: you’re welcome!
...added by Konstantinos Christidis /// February 12th, 2008 at 00:07 AM
Glad to find this post, I’m getting a new computer in a few weeks and importing songs from 3 harddrives from my old computer…hopefully if i drop all the songs into a single massive 40 gig folder this method will work
...added by dan /// February 19th, 2008 at 04:15 AM
I just did this on a Windows XP box. My daughter has all her music on the Samba server. Her share quit working so I had to rename it..
Steps: (1)Make back ups of .xml and .itl, (2) Edit the xml with WordPad, (3) Edit the itl file with WordPad and delete all the lines, (4) Start Itunes, (5) Click ok to replace the “damaged” itl file, (6) Open Itunes and wait for it to analyze all the files (In her case it was over 1000 mp3s.. !!)
...added by charles /// February 23rd, 2008 at 16:26 PM
my old comp died completley.so i had my itunes on that comp,i was told if i plug into my new computer i will lose everything i have on it like music,videos,pic.can i avoid this? how thanks
...added by jen caddell /// February 25th, 2008 at 07:26 AM
I just tried this on iTunes 7.6.1 and it remembered the import date. My only problem was with the podcasts, they apparently weren’t tagged with a the proper Genre before hand. Great guide. Thanks for the info.
...added by Carl /// February 27th, 2008 at 22:55 PM
I am trying to take itunes of my computer. I have tried deleting it and it says its deleted by yet it still shows up on my pc. EVERYTIME i DO A VIRUS SCAN AND THE VIRUS SCAN GETS TO THE ITUNE SECTION IT COMPLETELY SHUTS MY PC DOWN. CAN YOU PLEASE HELP.
...added by kim /// February 29th, 2008 at 22:13 PM
Excellent description. Had to rebuild a WinXP machine and was able to completely restore itunes and playlists with this info.
...added by Steve Ferguson /// March 5th, 2008 at 00:24 AM
Steve: thanks! Glad the HOWTO was of help.
...added by Konstantinos Christidis /// March 5th, 2008 at 09:49 AM
You rock!! Thanks a million!
...added by Jeremy /// March 6th, 2008 at 12:30 PM
Thank you so much for the information!
Just a heads-up to those with Chinese or Japanese songs—for some reason, the reconstruction of the .itl file seems to jam when it hits names that contain certain characters.
I’m not exactly sure what triggers this, since Chinese/Japanese file names apparently passed muster, but the song names didn’t. Plus, some characters I forgot to purge from the middle of an album name survived the transfer. Possibly it only happens if there’s a space followed by one of those characters.
(If your library of 10,000 songs suddenly shrinks to 20 after the move—this may be happening to you. It certainly did to me.)
...added by llyse /// March 9th, 2008 at 18:07 PM
An evergreen ! Great post, thank you very much !
...added by Simon /// March 11th, 2008 at 21:15 PM
Thanks so much. This saved me. It made moving from a back up hard drive to my new machine go easy.
...added by Gus /// March 12th, 2008 at 02:53 AM
llyse: thank you very much for that tip. I’ll add a note towards the end of the guide pointing to your helpful comment.
...added by Konstantinos Christidis /// March 13th, 2008 at 20:53 PM
Thanks! This is exactly what I was looking for. It worked great for me moving my library to a new Vista computer with iTunes 7.6.1.
...added by Thomas /// March 14th, 2008 at 07:03 AM
Thank you!
These intels were exactly what I wanted to know.
...added by Matko /// March 15th, 2008 at 13:26 PM
Hi.
I have been moving my library several times using methods described here, and I am very pleased.
But…
(I am on Vista, using iTunes 7.6, with my library on an external USB drive (H:/Music))
For some reason, the defalut iTunes Music folder suddenly was reset to C:/something – probably my H: was a little late in booting? Consequently, when trying to play music, the songs “couldn’t be found”. I was asked if I wanted to locate them, and I did. They were where they were supposed to, at H:. I changed the default folder back to H:/Music, and assumed that iTunes would check there when I tried to open a song, but no. It looks like I manually must specify the file locataion for all my songs (~4000), which of course is undoable.
So, I thought I should use the “empty the itl-file and global search/replace the xml-file” trick.
It worked fine, but as several people here have mentioned, the “date added” field was reset.
And I want to keep it (I’m using it for nerdy statistics.) The order is not enough, I want the time stamp. Have anyone found a solution to this? Please!!!! I would be very grateful.
(What confuses me, is that I though the “date added” was preserved as well, when i did this trick the other times. Could it be that it worked for earlier versions of iTunes? Or have I forgot something?)
...added by Torkil /// March 17th, 2008 at 12:13 PM
Thanks so much for this. I used the instructions with the latest iTunes, and the tricks seems to work. I didn’t do the podcast step, but my client cared only about her library of purchased tunes.
Apple should have these instructions as part of it support site; really silly and inconvenient for them to not make the XP-to-Vista transfer easy.
Just wanted to vouch for how well this works, so thanks again!
Velanche
...added by Velanche /// March 19th, 2008 at 11:09 AM
Velanche: you’re welcome. Glad to hear it worked with the latest version of iTunes.
...added by Konstantinos Christidis /// March 19th, 2008 at 18:57 PM
I know you’ve been flooded with ‘thank you’s and i want to be in line too! After hours of reading online I found your directions above.
The only issue I had was that I used Notepad to edit the .itl which didn’t work since the itl is too big for notepad to open. But if I’d read just a bit further in your article you pointed me to a better text editor…and voila! I’m perfect.
You f’ing rock. Schmolle rocks too. Thanks so much to both of you for helping me keep my wife from screaming in frustration if I’d lost all those playlists during the computer re-format process.
...added by Andrew /// March 21st, 2008 at 07:53 AM
Moved an Itunes 7.6.1 library from XP to Leopard without a hitch. Only issue was I had to redownload all the Album covers from the Itunes store.
Thanks a bunch!
...added by Robert /// March 21st, 2008 at 10:29 AM
Andrew, Robert: thank you both for your kind words—I appreciate them.
...added by Konstantinos Christidis /// March 21st, 2008 at 15:28 PM
Konstantinos, even though you wrote this nearly two years ago, it’s just as applicable to the new version of iTunes.
I finally needed to move my large music collection to an external drive due to storage constraints on my machine, and I googled every possible combination of keywords to find a good set of instructions. I really didn’t want to go back through my music, re-locate them with iTunes, re-rate songs, etc. At first I thought I had succeeded since I did everything, including modifying the XML file. However, no other resource I read noted that the ITL file needed to be modified. And, wow, it worked!
The only point of difference between your podcasts and mine post-transfer, were that mine weren’t listed in the library browser – there wasn’t a “podcast” genre. Instead, it was listed as a podcast playlist, which might be due to iTunes 7.6.
Either way, your “how-to” saved me a lot of hassle and heart-ache! Thank you very much!
...added by Angelo /// March 21st, 2008 at 17:26 PM
Angelo: thank you for your kind words.
Glad to hear the HOWTO proved helpful to you, and that it applies to the latest version of iTunes as well.
...added by Konstantinos Christidis /// March 21st, 2008 at 18:09 PM
Hey, I think you have it a bit more complicated than it needs to be.
1. First, no need to locate the XML file. Just go to File -> Export Library… to save the XML file somewhere. Alternatively, go to File -> Export… to save a text file with the same info in it. I think either would work, though I have not tried this with the text file.
Now, delete, from within iTunes, the songs that are no longer where they used to be from the library. That’s just to avoid duplicates.
2. Edit the XML file or TXT file to your liking.
3. File -> Import…, and choose the edited XML or TXT file to import. Any songs already in iTunes will be ignored. Any others will be added.
You can get rid of the XML or TXT file now.
This should save all info that is in the ITL file. All you are doing is importing, not mucking with iTune’s files.
Of course, if you use this method to transfer to a different iTunes installation (i.e. on a different computer), then only the info contained in the XML or TXT file will be transfered.
...added by Scott Kathrein /// March 22nd, 2008 at 23:10 PM
Scott: that certainly sounds interesting.
Is it possible that what you’re reffering to is this?
If that’s the case, does my reply to that applies here as well?
...added by Konstantinos Christidis /// March 23rd, 2008 at 00:39 AM
Excellent! I don’t like to use iTunes for ripping discs; I am a freelance music journalist and have extensive info for album notes, composition, lyrics, etc. for the tens of thousands of songs in my library. I was worried this would all be lost when i transferred to my new laptop. Your step by step worked like magic… and for latest version of iTunes. Thanks a ton!!
...added by tony j /// March 25th, 2008 at 15:41 PM
Tony: you’re welcome!
...added by Konstantinos Christidis /// March 25th, 2008 at 16:07 PM
I have tried this trick many times now and unfortunately run into the same problem…The .itl and .xml files are simply overwritten upon reopening itunes, instead of rebuilding the library. Like i’ve said, i’ve tried multiple times and am pretty sure I am editing the .xml file properly, any thoughts on why this may be happening? Thanks!
...added by Mike G /// March 29th, 2008 at 00:05 AM
I needed to move my 1.2 TB iTunes library to a new drive location on a Mac.
It’s a bit different. There appears to be no .itl file, just the iTunes Library file. I zipped up my file, modified the .xml file and opened iTunes. The library appeared blank. I’m trying an import of the .XML file and crossing my fingers.
...added by Reuben Herfindahl /// March 30th, 2008 at 21:17 PM
You rock, K !
‘Worked like a charm !
You saved me hours of manual work – this is the best walk through to transfer iTunes files on the net.
Thank you !
...added by Dinger /// April 11th, 2008 at 00:54 AM
Dinger: thank you, glad it worked for you!
...added by Konstantinos Christidis /// April 11th, 2008 at 01:09 AM
Don’t try this with itunes 7.6.2.9
Followed exactly as the instructions listed. But itunes says my .itl file is bad and then creates a new one without reading the contents of the modified .xml file. My music library is now blank. I have restored the old .itl file and I am manually having to go through and tell itunes where the each and every music file is now located. What a pain in the butt. Thank you Apple for making my life more difficult.
...added by T. Scott /// April 12th, 2008 at 18:37 PM
Comment deleted.
[Editor: had fun writing that email address, ace?]
...added by ace /// April 13th, 2008 at 16:39 PM
AMAZING!
This is exactly what I was looking for, as I just bought a new slaved hard drive that I want to store my files on.
And it worked perfectly. thanks!
...added by Tyler /// April 17th, 2008 at 04:12 AM
Hello All,
Where to begin? Well, we (husband and I) have:
A PC with Windows XP
An iPod with 1,832 songs, 6.7 GB (my husband’s) with iTunes version 7.6.1.9
The other day, a new external HD (Seagate Free Agent 500 GB) came into my life, and I haven’t been the same since. I sat in front of this screen, reading all kinds of blogs on where to go from here. Thank God I found yours!! I never realized moving iTunes was little more than just moving a file or two from one drive to another. Setting up the external HD was a piece of cake! I have followed the instructions per the Apple website for moving the iTunes folder to our new external HD (clicked on ”Keep iTunes Music folder organized, named the new location for the iTunes music folder and consolidated the library). I also:
Clicked on File, “ADD Folder to Library” (this updated the artwork)
Clicked on File, “Export Library” (probably didn’t need to do that)
Your original article says that if I allowed iTunes to manage the music library (which I clicked on per Apple), then performing your steps in Part 1 should be all I need to do. So, all I have to do now (per Apple) is “locate the original iTunes Music folder and drag it to the Recycle Bin and Empty it”. I am MORE than a little nervous about doing this.
Before I take that final step, I think I need to solve a couple of issues:
Issue #1: All the music files in iTunes are duplicated now. Is it because the new D drive is backing everything up (per Brad, 2/14/06)?
Issue #2: When I finally do plug in my husband’s iPod and it starts to sync, what will happen? I hate the thought of losing what’s on his iPod right now! The horror!!!!
Issue #3: When I originally set up iTunes for my husband, I did not check the “let iTunes mange your music library” option. Should I uncheck this option BEFORE I plug in the iPod again?
I love your article—wish I could have come across it first before I read all the other blogs!. I downloaded all 32 pages of comments. I patiently read everything, making notes in the margins. I think most of it applies to Mac’s and that I should just ignore the info the on the .itl and .xml files. God, I hope I don’t have to touch those. I am not a newbie, but I think I might be in a little over my head. I’m on overloaded from all the other blogs I’ve read. So, any help that this thread could give would be much appreciated. I am impressed by all of the comments on this thread. Please help if you can. Thank you in advance.
...added by Carolyn /// April 20th, 2008 at 21:23 PM
Some added comments:
I turned off the scheduled backup function of my Seagate. I think that’s why I have duplicates of almost every song in iTunes. Also, per Prodoc’s comments (11/07/06) he says that if the I’m syncing iPod with the library, it will delete ALL audio files and transfer back to the iPod when connected.
...added by Carolyn /// April 21st, 2008 at 01:45 AM
Carolyn: thank you for your kind words and the detailed comment.
Before I go on, let me just say that it’s been a couple of years since I wrote this HOWTO (and performed the procedure outlined here myself) and my memory has faded a bit. So, I won’t be able to help you as much as I could and you should take my advice (if there’s any) with a grain of salt. That said:
RE: Issue #1: Seems like it, yeah. I don’t know the details about your drive’s backup function, but out of curiosity, where are those backups placed?
RE: Issue #2: I’m mostly certain about this: yes, the tracks from your husband’s iPod will be erased. Why does this worry you though? The iPod is meant to be a mirror all, or part of your iTunes library. If you have the iPod sync to a specific playlist on iTunes, and you move the location of the library but otherwise keep it intact (that’s the point of this guide, after all), the iPod will re-sync to that playlist and the exact same songs will be loaded (again) on it. The only thing you may lose are On-The-Go playlists and any ratings that have been performed with the iPod in hand and haven’t been sent back (“synced”) to iTunes.
RE: Issue #3: You can leave it checked so that it manages your music library, it doesn’t matter now that the songs will be re-transferred to the iPod (see my reply to Issue #2).
...added by Konstantinos Christidis /// April 21st, 2008 at 20:20 PM
Thank you so much Konstantinos! Issues #2 and #3 are solved. But I am very concerned about issue #1 and I will tell you why. Since, my first posting, I turned off my scheduled backup feature on the external HD and did a “Get Info” to see the drive paths of the duplicated songs. For example, one duplicated song now has a C path and a D path (D being the new destination). I hope I answered your question about where the “backups” are. Since I am using the external HD to clear up some space on the internal HD, I know I will be taking all the ‘eggs’ from one basket to another. I started reading about THAT too. How many backups can you have? Apparently, not enough. But I don’t think my husband is ready for that concept yet! A second external HD? Yikes!! I am worried because my duplicate count is 3,949 and my husband’s iPod has only 1,832 songs on it so far. Did I lose some songs during one of the steps?
Finally, I took a look at the new destination folder to make sure all the songs were there. When I click on My New Music Folder, it lists the songs in alpha order and they all SEEM to be there. But get this—in the “i’s” is a folder called iTunes, right in the middle of this alpha order of songs. I click on that and I see every song that is on his iPod—again. But this list is more complete, I mean it has EVERY song that I see when I turn on his iPod. Do you think I’m still O.K. to take that “final step”? I realize this is alot to throw your way and I appreciate your honestly about being a little fuzzy on these things two years later. But if your can help me—and you certainly have on issue# 2 & 3—it would be appreciated! Postscript: iTunes is telling me it has an software update. Should I do the update before taking the “Final Step”? Thank you, thank you, thank you!!!!!!
...added by Carolyn /// April 21st, 2008 at 22:46 PM
I think I’ve solved part of the “multiple copies of the same songs issue” (that happened when I clicked on File, Add Folders to Library (from my first post). Something to do with iTunes seeing them as fresh files and thus makes new copies. Yikes!! I made sure I don’t have the Copy files to iTunes Library feature checked. Just hope the mulitple copies disappear after I make the transfer (hasn’t happen yet)!
...added by Carolyn /// April 22nd, 2008 at 01:30 AM
Carolyn: if I’m reading what you’re saying correctly:
1. Let’s say you’re seeing the song “Imagine” and its duplicate in your iTunes library. If one of them is on drive C (I assume that’s the old, original location) and the other on drive D (your FreeAgent external drive), then this isn’t a byproduct of your external drive’s auto-backup feature. It just means that your iTunes library has all of the old entries, PLUS the new ones.
2. Does the iPod hold your entire iTunes library, or part of it? If it’s the former (i.e. the true size of your library is 1,832 songs), then the fact that your library now consists of 3,949 songs (> 2×1,832) doesn’t (necessarily, at least) mean that you lost some songs (that could have been the case if the new count was < 2×1,832); it may simply mean that you’ve got the old entries (1,832), the new ones (another 1,832) and some additional duplicates (285) which may be the result of your drive’s auto-backup feature; i.e. I guess (cause this is just it, a guess) that those 285 songs appear three times in your iTunes library.
3. The Software Update shouldn’t have any effect on what you’re trying to do; just to be on the safe side though, leave it until after you’re done with migrating your library.
4. RE: The “iTunes” folder & the “Copy files to iTunes Library” checkbox; I’m addressing these two together cause they’re related. I still haven’t understood what you’re trying to do here. Do you want to move to a scenario where iTunes does all the handling (read: organizing) of your music (I thought that was the case from your previous comment), or not?
I’d like to help out; I think I’ll re-read my HOWTO to freshen up my memory. (By the way, my next reply may be a bit delayed—I’ll be out in the road all day tomorrow.)
...added by Konstantinos Christidis /// April 22nd, 2008 at 02:56 AM
Hi, Konstantinos, I’m here. Thank you for your latest reply.Thank you for your last reply.
The true number of songs is 1,832 and that was the last count on iTunes staus bar. So I am comfortable in agreeing with you on your explanation of the count.
On point #4: No, I don’t want iTunes to manage the music; but checking that box (“let iTunes manage your music library”) was part of the Apple steps before taking that final step and dragging the folder to the recylce bin— When I originally set up iTunes for my husband, I left this box unchecked. After the migration, if I uncheck the box and then sync his iPod, will that mess things up? Hope that clarify things. And thank you.
...added by Carolyn /// April 22nd, 2008 at 03:24 AM
Hi, Konstantinos. Well, I took the plunge and completed the migration approx. 2 hours ago. I felt I had enough info from your posts to complete the process today because I said”Oh Heck, Just do it!” I then closed itTunes and reopened it. I even closed and restarted the computer just to be sure. And it’s all still there! The number of songs/items went from 1,832 to 2,728. Apparently, my husband wasn’t putting all of his songs on his iPod, especially alot of recent purchases and CD’s he’d burned on the internal HD. My husband’s iPod sync was was successful-
no error messages at all. He did lose a few tunes (might have something to do with the WMA format I’d started reading about). He also lost the info in his playlist (also read about AND expect this to happen). I actually printed out every playlist and all his recently purchased music he had so he could see them-thought it might help me as well.So I guess the next step is to wait and see what problems come up. My husband owes me BIG TIME. I will continue to follow your blog and if a problem comes up I’ll check back in. Thank you so very much!!
...added by Carolyn /// April 22nd, 2008 at 21:45 PM
Thanks for the detailed guide. It has given me some glimmer of hope of keeping my song ratings and play counts that have been years in the making. I have followed every step of this guide to the best of my ability but always run into the same problem. I have a very large library on my windows pc (approx 22,000 songs). When I corrupt the itl file and replace the xml file on my new mac mini, it only imports a fraction of the songs. (about 8500). I kept the file structure of my music folder in tact on my external drive, and I double checked that I changed the file paths to work with the mac. I’m so discouraged right now. I don’t want to have to lose all that song information. Any advice or suggestions?
...added by Lawrence /// April 24th, 2008 at 03:36 AM
Very intuitive and very helpful. Your instructions were easy to follow and worked flawlessly. 2 Thumbs up.
Thank you.
...added by Gavyn /// May 4th, 2008 at 21:59 PM
Gavyn: thank you for your kind words.
...added by Konstantinos Christidis /// May 5th, 2008 at 01:48 AM
thanks, i did it once already and it worked. well, iTunes sucks. I just upgraded my windows and consolidated my library before doing it, so that i can avoid all this hassle. well, when i copy my consolidated library all the meta infprmation (ratings, playcounts, etc) is lost! so no way to transfer my library other thaan “part 2” of your tutorial. It is amazing how apple manages to make such common and trivial operations so complicated. fortunately i have a backup of my unconsolidated library…
...added by trickyDick /// May 10th, 2008 at 09:10 AM
I just used this method to move my library from a Windows backup drive to my new Macbook. No cross-platform issues! Thanks!
...added by Tom /// May 16th, 2008 at 06:07 AM
Wow, not only did it preserve my library data but it updated my iPod touch as if I’d been using the same computer the whole time. I was prepared for it to reload my entire library onto the iPod. What a time-saver!
...added by Tom /// May 16th, 2008 at 06:40 AM
Tom: you’re welcome, glad it worked!
...added by Konstantinos Christidis /// May 16th, 2008 at 12:34 PM
I have songs 3000 or more all over my C, D,drives,some in Itunes .. downloaded both drives on new G-drive USB sata harddrive, I would like to combine/consolidate all songs from all over into itunes on G..so I can put them on my new Vista computer..but don’t know how to get them all in there, without losing them or having all the problems I’m reading here..
sincerely
sylvia
...added by sylvia0001 /// May 28th, 2008 at 23:26 PM
After following the advice for rebuilding my Itunes library 200+Gb and dragging the folders to Itunes as recommended in numerous blogs I discover Itunes has organised all the tunes all right. It put them all in one folder called ;No Artist’ and wiped all album and artist information. I have now got a wonderful job ahead of me in re-organising my CD collection which is DAYS of work at best. Best advice is DO NOT USE ITUNES it is crap and one of the worst pieces of software I have ever encountered.
...added by Chris /// May 29th, 2008 at 08:20 AM
do u know how 2 download songs from itunes library to windows media player?
...added by kassy /// May 31st, 2008 at 01:03 AM
have just acquired Linn Akurate DS for my stored music system .......anyone else?
...added by Ross /// June 1st, 2008 at 02:17 AM
I just rebuilt my library purely by importing the XML file, didn’t have to edit anything. It said it couldn’t find some of the tracks, I’ve not explored to find which ones… mainly because I can’t remember what’s not there. This is with the latest version of iTunes.
...added by pimento /// June 1st, 2008 at 08:48 AM
Thanks Konstantinos, an absolutely superb solution to my problem! My father-in-law insisted I convert his 13000 odd songs from AAC to MP3 format (which itself took some 36 hours), at which point iTunes decided it couldn’t find them and wouldn’t play them. I didn’t want to spend the next two days re-importing all his songs, so, following the advice above I edited the XML file to find and replace all the AAC extensions with MP3, corrupted the ITL file as suggested, left iTunes to rebuild the library and everything now working fine!!
...added by Mal /// June 4th, 2008 at 17:15 PM
Excellent! Thank you for putting this together. I just upgraded a hard drive on my Windows XP machine, copied my itunes library over, and was missing all the data (playlists, # played, etc). To fix it, I deleted what I’d done, followed your instructions for Part 1, recopied the tunes from my backup, and voila!
Thanks again.
...added by Ken C /// June 5th, 2008 at 02:58 AM
Mal & Ken C: thank you for your kind words, glad these instructions proved useful to you.
...added by Konstantinos Christidis /// June 5th, 2008 at 08:42 AM
Thanks for this. I used last night with iTunes 7 and Leopard10.5.3.
I was a bit nervous about fiddling with the itl and xml files but it turned out to be much easier than I expected.
iTunes gave some odd message about the library after recreating and created a folder with a backup. However, the new library was just as I had hoped.
I also used the Assimilate View Options script from DOug’s script to get my playlists sorted too.
Cheers
...added by Rishi /// June 13th, 2008 at 01:52 AM
Rishi: glad to hear it worked for you!
...added by Konstantinos Christidis /// June 13th, 2008 at 08:02 AM
hi there , sorry but i’m still way confused about the whole music moving process..
if i can explain…
i have a new vista notebook, and my old computer is a windows xp pc. my music has mainly been imported off cds using win media player to windows explorer files.then i add them to itunes by file/add folder to library. does this mean that i’m storing them twice- using more memory?
if anyone can advise i would be very grateful!
i moved my music files to my new computer using usb transfer cable. now i want to reload my itunes library with artwork etc, and have all the songs match up in their new locations. what do i do?? delete them off my new computer and transfer them all over again using my ipod? i still like being able to organise music through explorer- especially in vista. or can i transfer the library xml file as above and hope that it will work?
yep im very confused..
...added by OzzyEzzy /// June 13th, 2008 at 13:55 PM
Hi,
I have about 11,000 songs adding up to 80 gigabytes. I recently purchased a new hard drive and have been experimenting with your technique to move the songs. Everything works as advertised except when itunes tries to reconstruct the library – it runs for a few minutes and then chokes. I get the usual windows xp error message (send, don’t send, etc). I’ve tried this on one other windows machine with similar results. Is my library just too big?
Thanks in advance,
Aaron
...added by Aaron /// June 15th, 2008 at 05:16 AM
Aaron: I would think that 11k songs/80 GB is not an unusual library size, so that would be a “no.”
Another error is probably causing this, but I don’t have a clue what kind of error that may be. (Sorry I can’t be of more help!)
...added by Konstantinos Christidis /// June 15th, 2008 at 08:19 AM
I’m moving right along with the step by step, but I am unclear as to what to do with step #5. I can open the .xml file with Wordpad, but I don’t know what “global search and replace” is. Am I supposed to delete all the info in the .xml file like I did with the .itl file??? In my old setup I was storing my music to and external hard drive and I thought once I downloaded iTunes to my new computer it would be as easy as unplugging USB from old CPU and plugging into new notebook. That didn’t work with itunes so I decided to go ahead and copy all music to new computer. I now have it stored twice on the new computer and once on the external hard drive. Thanks for you help.
btw old OS is XP and new OS is Vista.
...added by Steve /// June 15th, 2008 at 17:45 PM
Steve: “global search & replace” means you want to look for ALL of the instances of “phrase X” on your file, and have them replaced with “phrase Y”. Hope that clears it up.
“Am I supposed to delete all the info in the .xml file like I did with the .itl file???”
No, this should be clear from the instructions given in the post. You only “blank” the ITL file; you do changes to the XML file.
“I now have it stored twice on the new computer and once on the external hard drive.”
Yes, that’s because the default modus operandi of iTunes is to copy whichever song you add to it in its own special music folder (titled “iTunes Music” I think). It’s a bit of a bummer if you’re not used to it, I know, but there’s some logic behind it.
...added by Konstantinos Christidis /// June 15th, 2008 at 18:47 PM
Yes! It works flawlessly! I jut moved from WinXP to Mac OS. I’m using the same HD that I was using in Windows but as an external HD in MAC OS using a SATA HD enclosure. I used my MAC Itunes Library and my Windows Itunes Music Library.xml from WinXP. Thanks a lot, you saved a LOT of work.
...added by Rafael Perrone /// June 20th, 2008 at 00:12 AM
Rafael: you’re welcome! Thank you for the kind words.
...added by Konstantinos Christidis /// June 21st, 2008 at 11:24 AM
1) File > Export Library > Save it as “Library.xml”
2) Edit the XML file as explained in step 5)
3) Copy the music to the new location
4) File > Import > “Library.xml”
...added by imnothere /// June 29th, 2008 at 11:14 AM
Hi,
Well just for the record, I have succesfully followed the advice and moved 289265 songs (1,37 TB), then rebuild the iTunes Libarary.itl.
It took 22 hours to rebuild, but then everything was ok (except, as I knew in advance, not the add date of the songs).
Thank you – Regards Leif.
...added by Leif Andersen /// July 10th, 2008 at 18:00 PM
Leif: woah, 1.37 TB worth of music!
Glad to know the HOWTO worked for you & thank you for your kind words.
...added by Konstantinos Christidis /// July 11th, 2008 at 00:10 AM
Because I don’t have an iPod and have a Sansa mp3 player, for some reason I can’t sync the music on to it from iTunes. Unfortunately, it only works when I sync it from Windows Media Player. The only way I know to get mt iTunes library onto WMP is to burn a bunch of CDs of my library, load them on to WMP, and then be stuck filling in all the information for each song.
Does anyone know an easier way to do this? Thank you.
...added by Christy /// July 17th, 2008 at 16:07 PM
Not sure If I just didnt do it right, but itunes continues to rebuild the library files.
If I delete the original folder, edit the xml file in a new directory and clear out the itl file, itunes just rebuilds it in the original folder.
IF I leave the original folder, create a new folder, edit the xml file in the old directory and clear out the itl file, itunes says the library has become damaged….renames the files to damaged, and recreates the original files….any ideas?
...added by B Cady /// July 18th, 2008 at 22:30 PM
I guess I should clarify…I’m not exactly trying to move my library..
I’m actually trying to deploy itunes at work, and have it not associate 350 machines to use user’s network drives as their default music folder.. (Imagine how quickly that will fill up)
I thought your method might help me, because if I can just have itunes rebuild its library from an edited xml file (after clearing out the itl file)...and in turn change its default music directory to local machines instead of the network drives, I can save a ton of headaches.
...added by B Cady /// July 18th, 2008 at 23:01 PM
B Cady: your line of thinking sounds correct. Unfortunately, I don’t know what causes the problems in your case. Sorry!
...added by Konstantinos Christidis /// July 19th, 2008 at 03:13 AM
This worked great for me as well. I was just a little thrown by the fact that my xml file entries looked like this: Locationfile://localhost/I:/All%20DVD%20Music/
instead of the “I:/All DVD Music/” I was expecting. I just switched out the old drive, I:/All%20DVD%20Music/ for the new drive, E:/All%20DVD%20Music/ and it worked like a champ. I am using the latest version of Itunes 7.7.
...added by lawwing /// July 21st, 2008 at 02:04 AM
So this is how it worked for me, moving from my old laptop to new one:
Installed iTunes on new laptop, then uninstalled it through control panel. All of the needed directories remain. Copied xml and and itl library files as well as album covers etc. from old laptop into the itunes directories on new laptop. Installed iTunes again on new laptop. After installation, started iTunes. Took a while for initial load, but iTunes on new laptop is exact replica of iTunes on old laptop.
...added by Daniel Wynters /// July 27th, 2008 at 00:43 AM
Wow – thanks for the great info!
I got a new pc and set it up the same as the old one – same name, programs on C drive & iTunes files on D drive (copied straight onto it using external hard drive as go between).
Then using ideas from the info here I downloaded iTunes to new pc, and copied from old pc 4 files into the same directories: – iTunesprefs.xml from C:Documents and SettingsmynameLocal SettingsApplication DataApple ComputeriTunes – iTunesprefs.xml (don’t know why 2 docs but they were a different file size so did both) C:Documents and SettingsmynameApplication DataApple ComputeriTunes – iTunes Music Library.xml & iTunes Libary.itl both from C:Documents and SettingsmynameMy DocumentsMy MusiciTunes
Opened iTunes and everything was there immediately. Didn’t have any podcasts so don’t know how that might have worked. Downloaded iTunes music just asked for authorisation of computer and all worked fine.
(Windows XP Prof, iTunes 7.7)
Many thanks Schmolle & Konstantinos for a great site!
Valerie
...added by Valerie /// July 27th, 2008 at 17:57 PM
Thanks a lot for the guide. Sad as it is, I was quite upset when i had to format my drive solely because I would lose my itunes playcounts. I’m glad I stumbled on this site.
Thanks again
Chris
...added by Chris /// July 28th, 2008 at 01:52 AM
Valerie & Chris: glad you found the HOWTO helpful. Thank you both for your kind words.
...added by Konstantinos Christidis /// July 28th, 2008 at 02:16 AM
I’ve followed this guide before and it has worked fine.
However, I recently upgraded to iTunes 7.7 and now it seems that when it spots a corrupted itl file it ignores the XML file and just creates new, blank itl and XML files.
Anyone else having this problem?
...added by brendan /// July 29th, 2008 at 16:38 PM
I just wanted to point out that damaging your ITL file is not really necessary;
Another option is to goto “file”>“export library”.
This will export an XML (I’m not sure if this is the same as the XML that sits in your libary folder).
You can then move your files, and on the destination, use file>import on the XML file (alter the file paths in the XML to reflect the new location of your files first, duh). It will say “importing” for a while if you have a large library… the only downside as mentioned above is that I see no way to import the old downloaded art and whatnot.
...added by TH /// August 1st, 2008 at 10:43 AM
I can confirm along with Brendan that this doesn’t work on the latest versions of iTunes (7.7 and up on a mac)
Don’t follow the directions here without making a backup of the xml and Library files!
...added by Terry /// August 1st, 2008 at 19:46 PM
Clearly the bulk of your bloggers are HP and other PC users. Your instructions for recent PC to MacBook coverts are overcomplicated and basically suck.
...added by anitadollens /// August 3rd, 2008 at 05:09 AM
anitadollens: I wouldn’t know where to start with as your comment bristles with stupidity.
There’s no “bulk of my bloggers” since this isn’t Engadget or Gizmodo, where people are hired to write. This is a one-man show.
RE: “PC users”—your point being? Are you complaining because I’m not writing for the exact scenario you’re interested in? Oh no! Where should I send my apologies?
The instructions are indeed “overcomplicated” because iTunes didn’t provide an easy way for this transition. This should have been clear to you from the get go. Hence, you should probably address your concerns to Apple’s software engineers.
Finally, would you be kind enough to explain to me how they “basically suck”? At the time of this writing there are over 250 comments in this thread, and about 2/3rds of them are people thanking Schmolle & me for helping them maintain their library data.
If you’re still convinced that they do “basically suck”, you can always ask for your money back. Oh right, I forgot—you’re complaining about a free HOWTO that’s meant to help, and has actually helped lots of people.
PS: It’s “converts”, not “coverts.”
...added by Konstantinos Christidis /// August 3rd, 2008 at 11:02 AM
Just letting everyone know, I used this method to copy my library across to my Laptop from my main PC.
Laptop had a bunch of music on it originally, so I moved those library files to a backup folder first. Then I deleted that music (most was in the music on the main PC). Then I copied across the music from the main PC, and then the Itunes .xml and .itl files.
Then I followed this method of blanking the .itl and letting it reconstruct.
Only thing I can suggest, is that make sure the iTunes on both computers is the same/latest version. For me this was 7.7.
So yeh, this method still works on WindowsXP with iTunes 7.7
...added by Travis /// August 14th, 2008 at 09:38 AM
Travis: thank you for the detailed write-up. Good to hear it works with the latest version of iTunes in XP.
...added by Konstantinos Christidis /// August 14th, 2008 at 11:49 AM
YOU ARE MY HERO. I would’ve hated to go through all of my two thousand songs and individually locate each one.
This worked perfectly, so a million thanks!!
...added by MadMageEra /// August 16th, 2008 at 12:01 PM
MadMageEra: thank you for your kind words. Glad to hear the HOWTO proved helpful!
...added by Konstantinos Christidis /// August 16th, 2008 at 12:19 PM
Very helpful. I had a problem where my user account in Vista stopped allowing me to login (go figure). So I reinstalled Vista on a new partition and I followed this how to with a few minor alterations to restore my library. Here is my two cents to add to help anyone who might have experienced a similar problem.
I didn’t have to search and replace because I recreated the username exactly.
I also copied files from AppData (found in Roaming, LocalLow, and Local). I don’t know how much this may or may not have helped.
I then copied everything else to the exact locations they would have been before.
Following that I erased everything in the uneditable file (not the xml) as directed and re-subscribed to my podcasts.
NOTE My podcasts were not recognized right away, I had to click File | Add Folder to Library and choose the Podcast directory within the iTunes Music folder. Following that, everything worked as expected.
I did the same thing with a rented movie that I hadn’t watched yet, as well as my iPhone apps and ringtones. You may wish to repeat these steps for any additional content that, for one reason or another, did not find it’s way back to the rebuilt library.
After I did this, I plugged in my iPhone 3G (2.0.1 – jailbroken) which was set to auto-sync and it backedup and synced with no problems. I have yet to transfer that rented movie (I’m saving it for an airplane trip
) but it looks like it added correctly with the time remaining on the rental, so I assume it should work properly. All of my sync options were intact.
It’s possible that the only advantage to copying the directories from the hidden AppData (for XP users I believe it’s Application Data) is with firmware. However, I did it anways as a precaution and have had no problems as of yet.
One more thing, I had to authorize this ‘computer’ even tho technically speaking it is already authorized, but because this was a new Vista install, I’ll bet that had to do with it. After that, re-sync, good to go. All content works perfect! That said, may be a good idea to deauthorize that other account if possible (which, in my case, it wasn’t) to avoid loosing one of your five available authorizations.
...added by T1NY /// August 20th, 2008 at 23:28 PM
T1NY: glad it worked out for you!
Thank you for the incredibly detailed & thoughtful write-up.
...added by Konstantinos Christidis /// August 20th, 2008 at 23:35 PM
I’m about to try moving this to my new PC. I’m using a new version of Itunes so hopefully everything goes smoothly. Bit nervous, I organize EVERYTHING through playcounts!
...added by Chris /// August 22nd, 2008 at 03:03 AM
I’ve been searching around for a fix to this problem for a while and this looks like it would work, but I also want to run iTunes directly from my external hard drive and I found a pretty good tutorial at http://www.methodshop.com/gadgets/tutorials/itunesusb/index.shtml
I was just wondering whether you think I should do your HOWTO first or that tutorial? Or is it even possible to do both?
Appreciate your help!
Adam
...added by adam /// August 24th, 2008 at 06:24 AM
Adam: the tutorial you’re pointing to does sound interesting. I had a quick glance and I think that my HOWTO should be performed first but I could be wrong.
...added by Konstantinos Christidis /// August 24th, 2008 at 11:19 AM
Worked great on version 7. Thanks!!
...added by David /// August 25th, 2008 at 05:23 AM
Thanks for good article. Confirmed what I had tentatively worked out for myself. I’ve just run the procedure with V7.7 and although it screwed up with some artwork and compilations, this was easily rectifed.
I also had some (free) apps which disappeard, so be careful if you have some you have paid for. I would reiterate what others have said – there is no need to mess with the .itl file – just use file/import. Itunes article HT1451 gives precise instructions
...added by Julian Stone /// August 29th, 2008 at 18:19 PM
Julian: glad it worked for you, thank you for the report.
For the record, here’s a link to the iTunes Support article you’re referring to.
...added by Konstantinos Christidis /// August 29th, 2008 at 22:45 PM
can anybody help, I’ve spent 4+ hours trying multiple different options around what the set steps are.
I’ve had my windows pc stolen (but i’ve backed up the music with both itl and xml files. So i’ve copied those over with the whole music folder onto my new iMac. Changed the paths in the xml file, and deleted the itl data. I’ve got playlists, but more importantly i’ve got no play counts (which is all that i’m really worried about).
Does anybody have any ideas on what I could be doing wrong? In the xml file, all the information is there, but it just doesn’t appear to be getting picked up when using itunes, apart from the playlists.
Any help would be much appreciated.
below is a cut & paste from the xml file (i’m new to mac, so fairly sure that the directories are using correct nomenclature?).
273
Track ID273
NameNapalm Love
ArtistAir
AlbumPocket Symphony
KindMPEG audio file
Size5862269
Total Time207360
Track Number4
Track Count12
Year2007
Date Modified2007-06-03T13:36:42Z
Date Added2008-08-31T12:32:11Z
Bit Rate184
Sample Rate44100
Artwork Count1
Persistent ID6F2E9D8E738D3E64
Track TypeFile
Locationfile://localhost/Users/kennethtaylor/Music/iTunes/iTunes%20Music/Air/Pocket%20Symphony/04%20Napalm%20Love.mp3
File Folder Count-1
Library Folder Count-1
Thanks for any ideas…
ktaylor10@gmail.com
...added by Kenny /// August 31st, 2008 at 14:44 PM
Nevermind, I don’t know what i’ve done, but i’ve managed to get it to work…
what i did was install itunes 6, try the protocol – didn’t work.
then instal itunes 7, tried the protocol again, and for some reason…. IT WORKED!!!
in my nerdy world, this means a lot to me… thanks for making the site….
...added by Kenny /// September 1st, 2008 at 02:02 AM
Kenny: heh, you’re welcome!
...added by Konstantinos Christidis /// September 3rd, 2008 at 10:24 AM
thank you thank you so much!
i’m quite a techonological idiot, but this step-by-step guide is really well written, so much so that even i can follow!
you saved me a lot of time and from lots of headaches!
thanks again!
btw, it works on itunes 7.7 just fine.
...added by Melvin /// September 7th, 2008 at 11:35 AM
Melvin: glad you found the guide helpful! Thank you for your kind words.
...added by Konstantinos Christidis /// September 7th, 2008 at 14:14 PM
Hi!
Thanks for all the great info!
Sorry if this is a silly question! How do I back up my Itunes? :p
xx
...added by jenna /// September 9th, 2008 at 01:45 AM
great info…
i have an observation/problem
I have a 50gb itunes library on an internal mac drive, and an external usb hd (mac hfs+ journalised) with the overflow music. after the external drive started causing errors, i replaces it with a new external usb drive (fat32). I managed to get the library to recognise the new drive and the music plays, BUT i see one difference, with the new usb drive ,itunes loses track of the music ( ! before name and greyedout) when i rename/archive the mp3 files into folders….. something i never had with the previous drive, the music was always found after organising my music myself.
solution is to edit the configs after every time i move the mp3s…. or to copy/replace the files back again.
rather annoying, looks like itunes works “best” with hfs discs. i guess this is the same as when using an external nas….
...added by arnoedl /// September 10th, 2008 at 22:48 PM
I jst tried it using iTunes 8 and IT WORKED!!!!!! Thanks!!!! You saved me hours of work!!!!!
...added by Martin /// September 14th, 2008 at 04:13 AM
Martin: you’re welcome!
...added by Konstantinos Christidis /// September 14th, 2008 at 10:54 AM
This works (with iTunes 8 too). Period.
...added by Steve /// September 14th, 2008 at 23:06 PM
Steve: good to know, thanks!
...added by Konstantinos Christidis /// September 14th, 2008 at 23:17 PM
Thanks for the howto, having some trouble with the steps above, appreciate a touch of assistance.
I am trying to move iTunes playlists and ratings from one install of windows to another, all my music lives on a second hard drive, which hasnt changed, the first drive has been formatted and reinstalled. I have installed iTunes on the fresh install of windows and moved the ‘itunes music’ folder over, zeroing out the .itl file. When I start iTunes it says it’s importing the library and gives the message about replacing the .itl file but when it’s done there is nothing at all in iTunes. If I export the library from the old machine and import it in this iTunes it adds the playlists but not the song ratings. Does any of this ring any bells? Any help would be awesome.
...added by cosine /// September 16th, 2008 at 07:54 AM
cosine: as I’ve stated again somewhere in the comments here, it’s been a couple of years since I last tried the method and my knowledge of the process is getting a bit rusty.
“When I start iTunes it says it’s importing the library and gives the message about replacing the .itl file but when it’s done there is nothing at all in iTunes.”
Hmm, I have no idea why this happens; sorry! Are all the Preferences in your new copy of iTunes set properly (i.e. the same as in your old copy of iTunes, particularly re: where the music is located)? That’s all I can think of, for now.
Finally, if I recall correctly, the “song ratings are not preserved” effect when you export & import the library using the standard way is to be expected.
...added by Konstantinos Christidis /// September 16th, 2008 at 10:27 AM
How Dumb… my computer crashed … lost all files, data and programs…reformatted.. now i have my music on my Ipod but not in Itunes…(the dumb part .. I did not have a back up)..
Does anyone know if there is a way to transfer the songs from my ipod to a disk or my new computer so I won’t loose all my songs if I loose my Ipod????
Help Please…. and thanks
...added by Florida Ed /// September 21st, 2008 at 01:51 AM
Florida Ed: you can transfer the songs back to your computer (but maintaining library data, ratings, etc. is probably not possible). Have a look at SharePod. Hope that helps.
...added by Konstantinos Christidis /// September 21st, 2008 at 02:02 AM
Thanks for the ShasrePod tip….it was easy and worked great..
...added by Florida Ed /// September 23rd, 2008 at 11:00 AM
Florida Ed: you’re welcome.
...added by Konstantinos Christidis /// September 23rd, 2008 at 11:27 AM
I wish you wrote every single help tutorial on the web…you’d put Advil outta business tho ;-P
...added by kathryn /// September 28th, 2008 at 08:43 AM
Kathryn: thank you for your very kind words. I really appreciate them!
...added by Konstantinos Christidis /// September 28th, 2008 at 18:22 PM
I have my iTunes library stored on an external hard drive. I recently got a new laptop and want to have access to iTunes from the new laptop. However, when I plug the external hard drive into the new laptop (and change the directory as described), nothing shows up. Can anyone help?
...added by Eboni /// October 4th, 2008 at 13:43 PM
Wow thanks sooo much for posting these instructions. You saved me hours/days of re-rating my large music collection. I decided to do some house cleaning on my PC and moved all my music files to a backup drive, then did a factory restore /format of my PC to start from scratch. Then I saw all rating were gone after I reloaded. OH SNAP! Somehow I thought ratings were stored in the ID tagging. I used you method and got back 80% or my ratings if the file location was the same. Thanks for sharing. Now I know a lot better about how it all works and the file locations and file formats.
...added by BF /// October 13th, 2008 at 00:12 AM
BF: you’re welcome. Glad I could help.
...added by Konstantinos Christidis /// October 13th, 2008 at 06:53 AM
I followed the instructions, however, the iTunes 8 music library is different from what you indicated. The snap shot that you have does not work as no such line exist. The older version file, of which I happen to have by luck, was exactly the way you indicated. However, I need to set up this new file. The only string in this file containing any reference to a drive letter is: Music Folderfile://localhost/N:/My%20Music/iTunes/
This new file is also much smaller than the older version.
Can you help me out?
Thanks
...added by Mf447 /// October 18th, 2008 at 21:00 PM
Mf447: sorry, I haven’t touched that method in a while (and esp. not with the latest versions of iTunes) so I can’t really be of much help. Hope that you find a work-around!
...added by Konstantinos Christidis /// October 18th, 2008 at 21:35 PM
no need to do all the formatting stuff. just erase the .itl from your windows itunes folder when putting it in your mac itunes folder. much much easier. works with itunes 8. follow the link below. worked for me!
http://www.myfirstmac.com/index.php/mac/articles/how-do-i-move-my-itunes-library-from-pc-to-mac-and-keep-my-settings-intact
...added by nick /// October 21st, 2008 at 07:54 AM
To Nick & the author of the linked article over at MyFirstMac & everyone else: what you fail to realize is that with the method that I’m describing the location of the files remains (mostly) unchanged. Remember we’re examining the scenario where you don’t let iTunes manage your music library (files).
In the MyFirstMac article (and various others), the first step is consolidating your library. Do you know what this does? It copies all of your music to the special iTunes Music folder, effectively moving you from the “I don’t let iTunes manage my music library” that you were holding right until now.
Yeah, if you go that way the HOWTO is 3 paragraphs longs (max!) and it’s a process documented all over the Web.
But my HOWTO examines the case where the user doesn’t want to let iTunes manage his music library. He/she didn’t want to before and he/she doesn’t want to even after the switch/upgrade/whatever. It’s a special scenario and there’s no case of “is it better than going the other way and letting iTunes manage your files or not?”; to each his own.
So when Craig over at MyFirstMac writes “I found plenty of confusing guides that talked about editing xml files and changing access permissions, but I eventually discovered that it is much simpler than anybody seems to realize!”, what he doesn’t realize is that we’re talking about different things.
...added by Konstantinos Christidis /// October 21st, 2008 at 22:08 PM
This worked great with the latest version of iTunes 8+. Thanks for the help.
...added by chris /// October 23rd, 2008 at 06:32 AM
Chris: you’re welcome! Thanks for letting me know it works with the latest version of iTunes.
...added by Konstantinos Christidis /// October 23rd, 2008 at 17:41 PM
Thanks but it sounds like you’re transferring the iTunes library from one location to another within the same computer. How do you do it, preserving metadata, to a new computer?
Thanks!
...added by Brian /// October 24th, 2008 at 15:21 PM
Brian: it doesn’t matter if you’re transferring to the same computer (in a different location) or to a new computer; the process is the same.
Ask yourself: what’s the path to your music files in the new computer? Replace the old (i.e. current) path with the new path, transfer the needed files, etc.
...added by Konstantinos Christidis /// October 24th, 2008 at 15:54 PM
Worked for me. Mac and itunes 8.
I haven’t checked everything yet, but it even imported some songs with japanese characters in the title.
It took forever to rebuild the library. to the point where i thought it was frozen, but i just let it be and eventually it did it’s thing.
Thanks a bunch.
...added by Bruno /// October 25th, 2008 at 18:32 PM
Ok, this worked, sorta. I have 8.0 on my PC and 8.0.1 on my new mac. the new files created for 8.0.1 threw the methods off, and they didn’t work. but if you have 8.0 files still, the directions work perfectly. So thank you for not making me loose my library! itunes library updater doesn’t work for macs!
...added by Nick Simmerer /// October 26th, 2008 at 05:59 AM
Bruno & Nick: you’re welcome, both of you!
...added by Konstantinos Christidis /// October 26th, 2008 at 10:56 AM
Fantastic, simple, and painless. My MP3 files are all stored on an external USB drive, and on occasion, the drive letter changes, so the ‘source’ path changes between F and H and I drives randomly for extended periods. I have used this method twice now, and both times come up trumps using iTunes v8.0. Cheers!!
...added by CrazyChris /// October 28th, 2008 at 23:06 PM
CrazyChris: glad it worked out for you! Thanks for the kind words.
...added by Konstantinos Christidis /// October 28th, 2008 at 23:10 PM
Thank you for sharing this with the world!
Love you, lol
...added by Fernando Brito /// October 30th, 2008 at 03:04 AM
Fernando:
...added by Konstantinos Christidis /// October 30th, 2008 at 12:54 PM
Thanks for the clear step by step instructions! It took some time, but everything works great, running iTunes 8.0.1 on a Mac. Before I found your blog, I tried several other methods to reconnect my iTunes library and music files after moving them to an external drive. this is the only one that worked. thanks again.
...added by dbender /// November 1st, 2008 at 23:49 PM
David: you’re welcome! Glad the HOWTO proved helpful.
...added by Konstantinos Christidis /// November 1st, 2008 at 23:51 PM
KC—am thinking of (sort of) using your method to get rid of duplicates. My client started this process before I got involved and now has at least two copies of every song in his library. What do you think of wiping out the .itl AND the .xml , then quitting itunes and deleting all the dupes (he has a .mp3, a .m4a and a .wma version of each song right now) and just rebuilding the library by using fileadd folder?
...added by OldBam /// November 8th, 2008 at 21:13 PM
oh, to be more clear, he has three copies of many of his songs IN THE SAME FOLDER. When I delete the duplicates, itunes still shows the songs, but with and exclamation mark there. It’d be tedious to go through and delete each dead link manually, so I’m thinking of deleting the dupes, then letting itunes rebuild the library.
...added by OldBam /// November 8th, 2008 at 21:25 PM
OldBam: if you delete both the ITL & XML file as you say, wouldn’t you be losing all the metadata then? Or am I missing something?
...added by Konstantinos Christidis /// November 8th, 2008 at 23:23 PM
Yes, I’d be basically building him a new library, hopefully with no duplicate songs. He’s got over 1800 songs on the duplicates list, and there’s NO easy way to delete them. From what I’ve been able to find out, Itunes sees a .wma and converts it to a .m4a, even if there’s already a .mp3 in the same folder. Then it shows both the .m4a and the .mp3 in the songs list. Dupes!!
Hmm, that’s making me wonder why there were .wma and .mp3 dupes already in the folders. Curiouser and curiouser.
...added by OldBam /// November 9th, 2008 at 15:54 PM
Check Apples official solution at:
http://support.apple.com/kb/HT1451
Basically the biggest difference is to delete the ITL instead of making it corrupt. Works like a charm here!
...added by Koen /// November 15th, 2008 at 13:14 PM
K, please chalk me up as a +1 for the issue FrequentFlyer brought up on 5/23/07. The xml imported all my metadata, but for some reason, all the paths in it look like links to streaming radio songs. The paths are correct, but they have the wrong direction slash and %20 where all the spaces should be. I’ve looked at the xml file I pulled from my C drive and this is the way they all were on there! I can not think of any method of doing a search and replace on all these slashes so I believe all I’m left with is to reimport all my music, and then use the playlists and star ratings off all these streams to reorg and re-rate my library! Then delete all these streams. Any other suggestions?
Thanks,
Joe
...added by muellej /// November 16th, 2008 at 22:14 PM
Added info:
I had to switch set-ups on the fly, so I never originally exported my library to an xml file off of my old computer in preparation of this switch. I just went back and grabbed the xml file that was already there. iTunes should automatically be updating this file, correct? With actual paths instead of paths to stream from those file locations? Or is the stock xml file that is on the C drive without specifically creating one through library export something different?
Still trying to wrap my brain around this one!
...added by muellej /// November 16th, 2008 at 22:19 PM
OldBam, there may be something I’m missing here, but there is a Show Duplicates function in iTunes somewhere. I know I’ve seen and used it before. It will show all files with the same song name. The problem is, usually, it’s difficult to tell which one you want to get rid of and have to check out the path of each file to find which one is the m4a. But if you go through and delete all the actual files first, and then open iTunes and use Show Duplicates, then you should be able to just delete every file there with an exclamation point next to it. I would think that would work for what you’re trying to do…
...added by muellej /// November 16th, 2008 at 23:06 PM
muellej: the ”%20” shouldn’t bother you (I think); it’s meant to indicate a space.
As for the backslash/forward slash, it’s a tricky issue. I can see two possible solutions:
A. Use a text editor that understands regex (EditPad?). This way you’ll do a search & replace using regex; the tricky bit though is figuring out the regex expression that allows you only the paths within the XML file, and not the XML file in its entirety.
B. Do a global search and replace that replaces the forward slash with the backslash. Besides changing the paths (which is desired), this also changes the rest of the XML file (which is not desired). For example… “< /artist>” will now be “< \artist>” which is not correct. You’ll have to proceed with several global search & replace’s then to fix the XML file (for example: ”< \” with ”</” will be one of them).
As I have mentioned before, it’s a been a year or two since I last tried the method I describe in the HOW and my knowledge of the issues that arise when performing it are certainly rusty. Just trying to help here, but proceed with caution!
...added by Konstantinos Christidis /// November 17th, 2008 at 12:17 PM
Michael Newton: Good idea and I started to look into it but the module in question says it only works for itunes <4.5
I was thinking a possible option might be to have something that works with the XMLfile and works out the md5sums of all the files listed in it. Then, when after you have moved the files around, it could track them down by the md5 and update the XML accordingly.
...added by Richard Thomas /// November 24th, 2008 at 05:00 AM
You don’t need to do all those steps…. Just click the view button with 4 horizontal lines so it lists all your music, select all, and then hit delete, when asked to keep files or move to recycle bin, click keep files, then click and drag your music folder over to itunes and it will re-add all your music… ta-da.
...added by Justin /// November 29th, 2008 at 09:04 AM
Justin: ...and then it’ll auto-magically remember the ratings, play counts, playlists, etc.?
...added by Konstantinos Christidis /// November 29th, 2008 at 15:55 PM
This worked great! I had to rebuild my p.c. and could not recover my 4,000+ songs. Don’t know how you figured it out, but Thanks for puting the time into this fix!
...added by Tom /// November 30th, 2008 at 22:14 PM
About a year ago I did everything right and transferred all my songs to an external Freecom HD which I plug in via a USB. It all worked fine so I deleted all my songs from my computer’s Hard Drive and changed the location in iTunes preferences to the Freecom Hard Drive so it would know where to find them.
Then one day my girlfriend went on it and it all went horribly wrong….Now, whenever I go into iTunes, I have to change the path in preferences as it defaults to the iTunes Music folder on my computer. This means I get the ! exclamation mark against all my songs and have to manually go in and find them. I have thousands of songs so obviously this is a problem.
What’s the best way to resolve this without losing my ratings/playlists/changes, etc.. which I have painstakingly looked after these last few years? I basically want iTunes library to look into my external Hard Drive as before…
Any help would be appreciated.
...added by Daniel /// December 1st, 2008 at 18:07 PM
Thankyou for this guide, you have save me loads of time in rebuilding my library!!!
...added by SeraphaxG /// December 7th, 2008 at 10:03 AM
SeraphaxG: thank you for your kind words.
...added by Konstantinos Christidis /// December 8th, 2008 at 19:07 PM
Hi, I wonder if someone can help me?
I’ve recently installed a large external hard drive on my PC and wanted to transfer iTunes to it.
I followed the instructions given here:
and everything seemed to go well ….
... Until I tried to rip some new music from CD into iTunes.
I then found that the music was being stored in My Music folders, as .wma
files, rather than in the iTunes Music folders, as previously.
I noticed, on the iTunes edit/preferences page the option “Copy files to iTunes Music folder when adding to library”. This was unticked, so I assumed that was what was wrong, and ticked it.
However, iTunes then began to transfer ALL of my music from iTunes Music into my own My Music folders!
This was the opposite to what I had wanted and expected, and is a real drag.
What have I done wrong, and how can I clear up the resultant mess and get
things working properly?
Any help most gratefully received .. before I go crazy!
Thanks in advance.
Pitoucat
...added by pitoucat /// December 18th, 2008 at 01:17 AM
pitoucat: WMA files means that the ripping was (probably) done with Windows Media Player, definitely not iTunes.
The whole situation sounds a bit complicated as is; try to eliminate Windows Media Player from the equation (i.e. re-rip your CDs using iTunes; this has the added benefit of better audio quality since WMAs imported into iTunes have to be transcoded first) and see how this works out.
...added by Konstantinos Christidis /// December 18th, 2008 at 01:31 AM
No, the ripping was definitely done using iTunes. Always has been. I don’t use Windows Media Player. I just run iTunes, put a CD in the tray, and it automatically imports the tunes into iTunes, always with a .wma extension.
I can live with that, it’s just the fact that now those files have moved from the iTunes Music folder to my general My Music folder, and I don’t know why.
...added by pitoucat /// December 18th, 2008 at 11:01 AM
Sorry! When I wrote wma before, I was wrong.
Should have been m4a.
Does that make better sense?
...added by pitoucat /// December 18th, 2008 at 11:10 AM
pitoucat: M4A does make more sense; this confirms you are indeed using iTunes.
What you’re facing is indeed puzzling and I’m sorry I can’t help; if your “iTunes Music Folder” location/path (as set in your iTunes preferences) isn’t set to “My Music” you shouldn’t get what you’re getting.
...added by Konstantinos Christidis /// December 18th, 2008 at 21:48 PM
Magnifique !!!
Merci !!!
...added by offshore /// December 19th, 2008 at 22:19 PM
Thanks a lot – Peter
...added by Peter Hierholzer /// December 25th, 2008 at 23:09 PM
Thank you soo much! I was able to move 4 years of stats over with zero issue thanks to your help!!
...added by Kerri /// December 26th, 2008 at 18:52 PM
This kinda worked for me, but does not do all i want it to. I sort my list by date added. Before i tried this i knew it would do that. Anyhow. This also does not list my purchased items under the purchased menu??? I recently moved my ‘itunes music’ to a different hard drive, changed the music folder that itunes points to to the new location and i thought everything was ok. However, older purchased songs are still pointing to the old location and i have tried a few things to get them to point to the new location with no luck.
I copied the itunes music folder back to the original location so now i have 2 locations with the same data. I go into itunes to switch the music location and the most recent purchases update to either location as changed but the older files that originally had the problem ‘relocating’ only point to the original location.
I am only having a problem with my first 1000 purchased songs. newer purchases songs ok. I am trying to avoid 1000 Manuel file selections.
I hope i am making scene. Any ideas or pointers? I am using vista 64bit ult and the latest iTunes 8.0.2
Thanks
...added by Brendan H /// December 27th, 2008 at 06:12 AM
It worked great (on itunes 8).
GOD I’m happy!
including tags etc.
greats
Mudone
...added by Mudone /// December 30th, 2008 at 23:30 PM
Konstantinos, dude, you saved my life! Had to move to a new drive and faced the prospect of recreating thousands of rankings, ugh.
...added by Mike /// December 31st, 2008 at 22:28 PM
Hey all,
first of all thanks for this guide! Great work, you have helped a lot of people. I have a way more simple solution though, that worked absolutely brilliant for me with Vista and iTunes 8.
I’ve been using iTunes for quite some time, but a while ago my computer crashed and since then I’ve had all my music on an external hard drive (I sort all my music myself, hate having iTunes doing it for me). When I moved my music I didn’t find a simple solution to the library problem, so I rebuilt my library from scratch. As of now though, when my library is way to big to rebuild and I’ve bought myself a new computer to store my music on, I simply did like this:
First of all I installed iTunes and copied my saved library into My Documents/Music, where it is put by iTunes by default.
Second, your internal hard drives are usually named “C:”, “D:” and so on, but my external hard drive had gotten the letter “I:”. But one time when I had connected an USB memory, and then connected my external drive I learned that it was assigned another letter; “K:”. And more, this screwed up my iTunes library. I was a bit scared for a while, but a bit of googling made me realize that I could change the letter of the external hard drive back to “I:” by using the Disk Managment future (http://pcsupport.about.com/od/windowsvista/ht/chdrlettervista.htm). And when I had done that, everything was running smoothly again!
SO, the third step here would be to copy all of your music to whichever drive you would like, and simply change the letter of that drive, to the one iTunes played the music from before!
Easy as pie!
Hope this helps, cheers all!
...added by Martin /// January 11th, 2009 at 14:34 PM
Martin, That link is very useful. I didn’t know that you can change a drive letter that easy. Thanks!
I just bought a laptop. My itunes program is in my computer, whilst my mp3s/videos are all on my external harddrive (registered as G: on my PC)
Of course, i want to retain my libraries, mp3s,videos,lyrics,album artwork
I’m not very good in computers and can you see if what i will be doing is correct?
1. Download itunes on new laptop
2. Delete the xml,itl file on it?
3. From the Itunes on PC: Open the “iTunes Library.itl” file. Select all text (Ctrl+A) and delete it. The file is now blank, with zero characters on it—save it. Copy that to laptop(under itunes). Copy the xml to laptop.
4. I have to make sure that i change my external harddisk drive to (G:) on my laptop
5. Open itunes, with my external haddrive connected.
6. Will my songs/library exist?
...added by fawn /// January 12th, 2009 at 06:06 AM
I tried this on a mac running iTunes 7.6.2, but couldn’t get it to work completely.
I changed the XML file as recommended and then let iTunes rebuild the library (.itl file).
The originally playlists are all there, as well as a few new smart playlists. However, most of these have lost the majority of the songs they used to contain. There are no exclamation point/song not found errors, they just are not there anymore.
I have tried editing the XML file and rebuilding the iTunes Library several times, but I either have no songs in the entire library or run into this problem.
I don’t actually care about the playcounts, but I would like to maintain my playlists with all their original songs. Has anyone else run into this problem of only some songs disappearing?
...added by Dan /// January 15th, 2009 at 23:17 PM
Dan – I had the same problem, sort of. My main music collection is on an external drive which recently changed from F: to G:, with the iTunes-specific library (for ripping CDs etc) in “My Music/iTunes” on the C: drive.
Updating the XML file to reflect the G: drive change, and zeroing the .itl file just resulted in iTunes telling me that the library file was damaged, but it only rebuilt with the “local” files, not the entire external drive.
I just ended up re-importing it to get iTunes going again, but not ideal…
...added by Rich /// January 17th, 2009 at 12:46 PM
I think iTunes should just include a setting to define the location of ALL music files.
So if you wanted to move your music folder then you would just specify the location and then just copy all files to this location?
I wanted to move my files from C to M and i changed the dafault music folder to this location, however all older files were still pointing to C (i moved all files to M)
M for Music
anyhow… i think it would be easy to add from apply into iTunes… otherwise i see moving/changing computers to be a pain if you are not keeping the same drive letter
...added by Brendan H /// January 18th, 2009 at 04:23 AM
I have restored my itunes library from an external hard drive after reformating my pc. The harddrive has 69 gigs of music on it. I imported the library into itunes and am running it from my external.
To regenerate ratings I did as your tutorial said and the ratings and playlists came back. But itunes now only recognizes 24 gigs of the songs in the external folder.
I think that I will re import the folder again and delete the duplicates which would keep the ratings on the songs in itunes right now.
Do you know what happened or a better way to retrieve the rest of my music?
Thanks,
Mark
...added by Mark B /// January 18th, 2009 at 06:00 AM
Thanks a million.
...added by GMc /// January 20th, 2009 at 10:31 AM
I just released a tool at Sourceforge, which dummy users can use, when iTunes “lost” their files. It is tested with iTunes 8.0.2. It just automates, what you wrote. But furthermore, it also works, when you renamed your files, not just moved them (comparing file names and letting you choose out of the most propable).
(Hope you do not regard this as spam.)
Cheers,
Thomas
...added by Thomas /// January 22nd, 2009 at 11:50 AM
Thomas: that’s neat. (Why on earth would I consider this spam?)
Good work, I hope the tool works as good as it sounds!
...added by Konstantinos Christidis /// January 22nd, 2009 at 22:35 PM
seems like i am missing 17 of my 11368 songs, but otw worked very well (I may have misplaced them somewhere else). Thanks.
...added by guitargooroo /// January 26th, 2009 at 19:54 PM
Thanks, this worked great and just saved me a whole heap of headaches
...added by natslovR /// January 28th, 2009 at 13:02 PM
Wow. Seriously thank you. I spent hours searching for a (best) solution and this nailed it. Many thanks to you and Schmolle.
...added by SK /// February 1st, 2009 at 05:28 AM
OK – everything seems pretty straight forward – but when it rebuilds the library – I am only getting about a third of music. Any special characters/potential problems I should be looking for in the XML? Thanks!!!
...added by John Rather /// February 4th, 2009 at 16:39 PM
Transferring from PC => Mac w/ a little .xml Search/Replace and a rm + touch on iTunes Libarary totally worked
...added by Adam Fleming /// February 5th, 2009 at 02:51 AM
Thanks so much! I was so worried I’d lose everything when this spyware hit my computer and I had to back up to an external hard drive and clean out my computer… but everything’s still there, play counts and everything! The order of the Date Added is a bit scrambled, but it’s bearable.
...added by Smackdabish /// February 7th, 2009 at 20:33 PM
Am I missing something?
Even with the box to let iTunes manage your music UNCHECKED, after changing the iTunes Library location just go to File > Library > Consolidate your library.
iTunes copies all the files to the new location for you and maintains all the info (without renaming or reorganising the files as far as I can see). Then go and remove the old files from the old location after it’s completed.
Only downside is it moves the whole library, podcasts, movies and TV shows included, but that wasn’t a problem for me cause it’s what I wanted.
...added by Travis /// February 8th, 2009 at 17:22 PM
Bravo – thanks for the info. I’m not a fan of the naming convention and files structure that Itunes utilizes so I manage my music files myself. I could not believe during the Apple sanctioned backup process that it renames all your files and changed their folder location, so this method was a savior. Just transferred over my playlists and ratings between two PCs without a hitch in the same file structure and same file name convention. Two items worth mentioning again which are kinda buried in the long comments section above: (1) Use wordpad rather than notepad in windows to edit the itl and xml files as notepad can bog down with a large file; and (2) wordpad uses forward slashes ”/” rather than backslashes “” to identify the file, so use forward slashes on a PC when you are replacing the file location in the xml file (e.g. d:Itunes should be written as d:/Itunes/ in the wordpad editor). Muchas gracias again.
...added by Sean /// February 10th, 2009 at 23:28 PM
Helpful as hell, several times so far. Thanx!
...added by Eric /// February 16th, 2009 at 19:48 PM
After doing this my ipod had a couple of problems with syncing and all the data became an unknown type. i dont know if this was related to doing this but i just had to restore the factory settings and sync it from scratch which took a while but ah well. all in all it worked so im happy. cheers
...added by Lambey /// February 19th, 2009 at 14:32 PM
Yay! thanks so much for this. My purpose was that I was NOT letting iTunes manage my music and wanted to change this and allow iTunes to manage my music. My music was in a different folder, and all the music files were just in there with no other subfolders. The music was already in my library; I didn’t want to add them again and have to delete duplicates. I followed your procedure but before I closed down iTunes, I checked the box to let iTunes manage my music. After closing down iTunes doing the find/replace in the xml file and blanking out the itl file, I copied all the files from the source folder to the normal itunes music folder. when I started iTunes back up, it automatically created the artist folders and moved the music to newly-created artist and album folders. This is exactly what I wanted. THANK YOU SO MUCH! And I like the resizable box on this comment.
iTunes ver 8.0.2.20
...added by Darby /// February 21st, 2009 at 01:22 AM
I went to lookup the yellow machine that Simon posted about and it seems to be gone! What are people using now for super large libraries, home network, and backup?
...added by Darby /// February 21st, 2009 at 01:31 AM
Worked like a charm. Migrated from PC to Mac and worked like a charm:
1. Backed up PC files just in case.
2. On Mac with blank library told iTunes to move all music (even though there isn’t any) to my external drives” iTunes Music” folder. This creates the correct refernce in the XML file.
3. Renamed the iTunes XML file on the Mac and deleted ALL other visible files under the iTunes folder on the Mac.
4. Shared my PC MyMusic folder onto my network and connected to it from my Mac.
5. Moved PC:\MyDocsMyMusiciTunesiTunesMusic to Mac:\ExtDriveiTunesMusic.
*TOP TIP* There is an Automater script that allows you to Compare Folders. I set it to Compare my “iTunes Music” folders on my Mac and PC to ensure that they were in PERFECT synch. The link is here: http://www.apple.com/downloads/macosx/automator/comparefolders.html
6. Moved PC:\MyDocsMyMusiciTunes to Mac:\MacHDUsersmeMusiciTunes
7. Opened up both the Renamed Mac XML and the Moved PC XML files in Smultron (my pref text editor). Did a copy and replace on the file path for the library in the Moved PC with the one in the Renamed Mac XML file and saved and closed all the files.
8. Renamed the iTunes Library.itl file to remove the ”.itl” part and then opened up in Smultron. Did Select All and hit Backspace and then Save and Quit. This left a 0Kb file.
9. Ran iTunes on my Mac and my PC. On the Mac it rebuilt my library and when it had come up I had a perfect copy on each. All my ratings, my play counts and my last played dates are intact.
Hope this helps clarify anything anyone feels may be missing.
...added by GingerNinja /// March 7th, 2009 at 15:45 PM
One great point… just put the warning before the step…
That ma fault… not your’s!
I just read the first step and that was exactly what I searching and trying to do… but after reading and doing all that I just read the downside..
Lossing Podcast and loosing the time stamp.
...added by Patrick /// March 7th, 2009 at 18:45 PM
ADDITION FOR iPHONE/iPOD TOUCH USERS:
Just discovered that I wasn’t quite as clever as I thought I had been.
For some reason all my have become disconnected so when I synched my iPhone it started removing them until I cancelled it.
The Mobile Applications folder isn’t referenced in the XML that I could find, but you can fix it by clicking “Get Info” on each app at which point iTunes will tell you it’s missing and ask if you want to find it at which point you can browse to it.
If anyone fixes this, or determines that it doesn’t break if you keep Music in its default folder, please post back.
Cheers!
...added by GingerNinja /// March 7th, 2009 at 20:06 PM
Thanks so much, This is the BEST site on the internet concerning how to do this!
I had added 2 TB storage and configured my iTunes to use it.
After 2 months I finally erased the original iTunes folder…..and ran into errors…..
Thanks to this information, troubleshooting was made easy!!! (of course it took me 4 days to find it!)
...added by FrankD! /// March 11th, 2009 at 03:29 AM
This is fantastic, exactly what ive been looking for, i moved my itunes library from XP to Vista and Vista will not let you create a directory on C called documents and settings so all my music was in limbo beacuse i didnt want to manually change 5000 files. this works on the newest version of i Tunes at this date.
Thanks
...added by Andey /// April 1st, 2009 at 01:20 AM
Hi there
I’m not sure whether the above guide is going to help or not, so I thought I’d just ask the question!
My scenario is as follows:
I had a PC, with iTunes, where the music was on a second physical disk. And an iPod with songs on, synced from the (unmanaged) library. Sadly, the system drive failed, taking any iTunes settings with it. I’ve rebuilt the PC, installed iTunes 8, and rebuilt the library (in my own location again), but when I plug in the iPod it says “The iPod is synced with another library…Do you want to erase & sync this iPod”. Will this wipe the songs that are there, and if so, is there a way to get the iPod to sync without losing all the songs on it initially (& will this HowTo do that)?
...added by Andy /// April 1st, 2009 at 23:34 PM
Andy: yes, syncing will wipe the songs that are there. No, as far as I know, there is no way to get the iPod to sync without losing all the songs on it initially.
...added by Konstantinos Christidis /// April 2nd, 2009 at 12:11 PM
Thanks a million, had similar problem, moved music to new PC and though I changed the User Name to the same as on my old computer the folder under C:Users remained the same and read-only so I couldn’t do anything (despite keeping the iTunes Library at a location mirroring the one specified in the paths). This saved my ass, or at least about five days of reconstructing all my playlists and the hair I would have torn out meanwhile.
THANKS!!
...added by Frida /// April 9th, 2009 at 19:45 PM
I have NAS drive and have ripped all wav files to \MusicServer I manage the music through itunes. I do this on a PC winXP. I just got a macbook for home/wife to use and would like for both of us to manage the drive. itunes user is the same, but only buy a couple of songs here and there. In the new itunes I have got the iTunes Library.itl & iTunes Music Library.xml copied over, but the songs have that ! by 98% of them. How do script to get this updated without having to click on each song. PC laptop still in running if I need to export anything
...added by Brad /// April 11th, 2009 at 06:19 AM
I’m older and new at this, and a first time bloger as well. I downloaded all of my cds to my nano IPod at work now I want to add music on my home computer and manage them on both computers. Is this possible?
...added by Marilyn /// April 14th, 2009 at 05:35 AM
Thank you SO MUCH. After hours of Googling, trying and retrying I was about to give up… I printed your walkthrough and it went fantastically. So I’m very much obliged.
...added by Saskia /// April 26th, 2009 at 12:39 PM
I hadn’t read this article before using a usb drive to move my music from one computer to the next and I simply saved the itunes library.itl and xml files to the usb drive. I tried to add them to the new PC but it won’t let me… and now all the music that I had on my old PC are gone from itunes. Can you help me understand what happened or how to fix this? Thank you.
...added by confused /// April 27th, 2009 at 01:38 AM
Marilyn: no, not that I know off.
Saskia: thank you for your kind words! You’re welcome.
...added by Konstantinos Christidis /// April 29th, 2009 at 06:28 AM
just making a quick comment here to add to the pool of knowledge/frustration – first off Konstantions, thanks for putting this together. I’ve got 33K songs, windows, and had made a huge mistake in adding a 2nd hard drive a few years ago when initial one filled up. going forward- keep on one HD, get a bigger one if you have to. ANYHOW, the point is half of my songs were on one HD, half on another, and this has made the “moves” a time consuming nightmare (i want to retain all the playlists and ratings). anyhow, long story short- following the instructions did work, BUT NOT COMPLETELY, on one PC. (about 10% of the songs just did not make it). this was a few months back. then i tried duplicating the same process, same source, to another PC. NO LUCK, after tweaking a zillion little things and reading all the comments, the xml file would constantly shrink and just would not recognize the 2nd HDs tracks. i realize i’m not typing the full detail here, but my point is – this is a frustrating process and it’s very possible that you will follow all the instructions correctly and still just have no luck. it’s really sad that apple doesn’t pay more attention to this issue as people migrate their libraries of music more and more to itunes.
...added by Clark Benson /// May 3rd, 2009 at 02:22 AM
Clark: thanks for taking the time to write up your experience. It’s a bummer that this is happening to your library… I agree that the iTunes group over at Apple should have given our scenario/situation some more thought.
...added by Konstantinos Christidis /// May 3rd, 2009 at 10:44 AM
It worked beautifully on my iTunes 8
Saved hours of my time I would have spent manually moving all the files … Thanks!
...added by Yoshi /// May 4th, 2009 at 20:55 PM
Doesn’t work…. under 8. All of the dead tracks were removed in the rebuild of the iTunes library.
...added by George /// May 5th, 2009 at 10:08 AM
It also removed all of the PODCASTS—I had many many many PODCAST Subscriptions.
George
...added by George /// May 5th, 2009 at 22:34 PM
Worked perfectly for my iTunes 8, thank you very much for this
...added by Noelle /// May 9th, 2009 at 22:37 PM
Yoshi & Noelle: you’re both welcome!
(George: read Yoshi’s & Noelle’s comments.)
...added by Konstantinos Christidis /// May 9th, 2009 at 23:48 PM
Thank you again and again and again!
Your explanation keeps saving my iTunes’ ratings and playlists time and again.
I just used it on my windows 7 64-bits and iTunes 8.something.
...added by Tiago Capristano /// May 17th, 2009 at 07:23 AM
Tiago: you’re welcome!
...added by Konstantinos Christidis /// May 17th, 2009 at 14:10 PM
THIS WAS FANTASTIC. I had a computer bomb out on me, and I had stuff saved in multiple folders backed up on an external hard drive. The combination of textediting the recovered .xml file and then clearing out the .itl file won the day.
Thanks!
Mark
...added by Mark /// May 24th, 2009 at 22:45 PM
I don’t know what I did wrong, but everything is lost from Itunes…. 76GB of music and 37GB of music videos, all filled with the correct titles, year of release, genre, covers…. All gone. I think I will go and cry now…
...added by Angelo /// June 5th, 2009 at 00:21 AM
Okay, at least the information I added seems to be saved. So only to drag everything back, delete it from Itunes and manually find the right location again. A lot of work ahead….
...added by Angelo /// June 5th, 2009 at 00:29 AM
Didn’t work at all. Working from an external after iTunes suddenly stopped recognizing where the music was (nothing was corrupted, the music never moved. iTunes just sucks).
Working with the newest (as of june 4th 09) version of iTunes, 8.2.0.23. I’m really bummed. I’ve been methodically going through all my music to see what to keep and what to shed and the play count was important to that. All the metadata is gone.
...added by Lionel /// June 5th, 2009 at 02:55 AM
I just tried tested this and tried to move it from my computer to my laptop. Im going to do it for real when i get my mac but i wanted to see if it would work and everything worked and showed up the same as it was on my computer except play count and playlists. I dont know what I did wrong. I’ve tried to all different ways and nothings worked.
I think i might be doing something wrong with importing the library.. I dont really know how and im not getting the same messages you said i should be getting. if someone could explain how i should be doing it, it would be much appreciated. Thanks
...added by Tyler /// June 5th, 2009 at 05:44 AM
okay nevermind i figured out my problem was my itunes on my laptop wasnt updated. After i updated it it work perfectly. Thank you so much for this guide it made my life a lot easier.
...added by Tyler /// June 5th, 2009 at 18:11 PM
Still works with iTunes 8.2, thanks for the tip!
However, on top of loosing your podcasts subscription, you also loose the link to your iPhone / iPod apps. You need to reimport them from by dragging them from the folder iTunes Music/Mobile Application to iTunes.
Thanks again for the tip!
...added by Alphab /// June 7th, 2009 at 04:14 AM
Alphab: you’re welcome & thank you for the iPhone/iPod Apps note!
...added by Konstantinos Christidis /// June 8th, 2009 at 15:12 PM
Great job !
Many thanks, I have just done it and it works well.
Just one question: It seems that I have lost all the covers except the ones that I added manually.
Is it better to let iTunes finds the covers or is it better to add them manually ?
Many thanks
Damien
...added by Damien /// June 14th, 2009 at 10:49 AM
Damien: thank you for your kind words.
RE: the album covers—unless I’m mistaken, it is better to add them manually since they’re added to the track’s metadata in a standard way. (But is it easier than right-clicking on a track in iTunes and letting the program find the artwork? Unfortunately, no!)
...added by Konstantinos Christidis /// June 14th, 2009 at 13:56 PM
I hope you can help, I made and Itunes mistake and instead of looking for help online, I tried to fix it alone and made matters worese. I recently built a new pc and kept my old ide HD with my 30gigs of music and installed the drive in the new machine. I then copied the files onto new sata hd and installed itunes, had it detect library. All was good until I decided to put all of my music into the my music folder, and now all songs need to be relocated. My fix was to uninstall itunes and re-install, when that happened, dupicate versions of each song appeared and they of course still require that I re-locate the file. Is there any hope for restoring my library w/o locating all 30 gigs of songs and deleating each double individually.
...added by Brion /// June 17th, 2009 at 18:14 PM
Works well with Itunes 8. Except the Podcast Part: I had no Genre “Podcast” or any Podcast Media in my Labrary after autoreimporting was finished, so I added my Podcast folder manually to the library. After restarting Itunes my old Podcast showed up!
...added by Uwe /// June 18th, 2009 at 20:51 PM
I just want to move my podcast files and it turns out different than the OP (maybe because of v8)
My step was:
1. Copy the “iTunes Music” folder to your preferred. Mine was “E:iTunesiTunes Music”
2. Change the iTunes Music folder location, “Edit → Preferences → Advanced” to the new location
3. Before clicking “OK,” rename (or delete) your old old “iTunes Music” folder, so iTunes cant find it
4. You’re good to go
P.S.: I think this is because the library is rebuilt after you click OK button. Since iTunes can still see your old music folder, it retains the old files and redirect only the new files into the new folder.
More P.S.: Also, before i try the step above, i tried to rename the podcast location in “iTunes Music Library.xml.” After reopening iTunes, the library file size returns back to normal: the moving doesnt successful.
...added by Saya Oz /// June 23rd, 2009 at 05:11 AM
I wish I had followed these directions, but I followed Apple’s directions here: http://support.apple.com/kb/HT1364
After moving the files, my new music folder on my external drive only has 17,000 files. The previous folder on my hard drive had 26,000 files. However, they both take up 134 GB. Any idea why I show fewer files but it takes up the same amount of space? I am trying to figure out if I’ve lost any music or not.
...added by Jon /// July 8th, 2009 at 13:30 PM
Brilliant! I almost lost my playlists and ratings without considering “Part 2” of the transfer (thank god for backups!) I’m not really worried about the timestamp issue so this was a perfect fix! Thanks again.
...added by Rosie /// July 9th, 2009 at 01:10 AM
OMG! I was dreading dealing with “the move!” I bought a new computer and have all my music on an external drive. Of course, the drive letter changed on the new computer, so I just knew it was going to be a nightmare dealing with iTunes.
Oh no it wasn’t! I spent more time reading this page than performing the process!!! I am amazed and THANK YOU so much.
All my software has been installed on my new computer and my daughter will be happy mom doesn’t have to say, “Well, I haven’t gotten to dealing with iTunes yet.”
Yipee!!!!!!!!!!!!!!
...added by Paula /// July 10th, 2009 at 17:03 PM
Rosie & Paula: glad you found the HOWTO useful, thank you both for your kind words.
...added by Konstantinos Christidis /// July 10th, 2009 at 18:04 PM
it worked perfectly. thank you so so much!
...added by diego /// July 12th, 2009 at 00:16 AM
Diego: thank you for your kind words.
...added by Konstantinos Christidis /// July 12th, 2009 at 01:37 AM
Hi, I tried this and can’t seem to see the applications that i bought (and also the podcasts..I’m using itunes v8 and when i went to preferences, i didn’t see the ‘show genre when browing’ checkbox. the music have settled ok – it’s just the apps and the podcasts.. help appreciated! thank you..
...added by LJ /// July 13th, 2009 at 10:11 AM
it’s ok now.. i followed anadvice that says just drag them to the library and that’s what i did…seemed to work fine.. now, will just need to sync the ipod and see if everything’s going to be there..
i’ve been looking for the quickest way to move my itunes music and this site has been useful..
now that i’ve moved my itunes library from laptop at work to an external drive, just need to figure out a way so i can sync the same library using my home laptop. will see if the same instruction works (or just copying the ‘newly edited’ itunes folder is enough to do it..
cheers!
...added by LJ /// July 13th, 2009 at 10:27 AM
Konstations,
I hope you can assist, i received a playlist from a friend for my sons new ipod.
The playlist was copied onto an external hd, into the music folder, which had about 400 gb of mp3.
When we went in to listen to the mp3…they had all disappered…..pure Panic….Please let me know how i can find the mp3’s….
..Thanking you in advance
Sven
...added by Sven Lobner /// July 13th, 2009 at 19:40 PM
Sven: I don’t think I can be of assistance, sorry. Too many scenarios may be in play here and as a result, I don’t even know where to start from. Hope you do find a workaround though!
...added by Konstantinos Christidis /// July 14th, 2009 at 23:07 PM
Lost iPhone apps and podcast subscriptions after relocating music:
I am using iTunes 8.2 and I have music for which I do not have iTunes manage. The music is located outside of the iTunes folder on my local PC. I have created playlists which include those songs. I have an iPhone 3GS for which I subscribe to podcasts via iTunes and for which I have purchased a number of apps. I am interested in moving the music files to a newly purchased NAS drive. I have a new folder on the NAS drive mapped to my PC as the Z: drive. I am intending on keeping the iTunes folder on my local pc.
I do not wish to have iTunes manage those songs, so I do not want to have iTunes copy them to the iTunes folder and perform consolidate.
I followed the instructions for method 2 by doing a search and replace in the library XML file for all the songs outside of iTunes. I am keeping itunes folder on my local pc.. I replaced the paths with the new ones. I also replaced the itl file with 0 byte file. On starting iTunes, it recognized the itl file as being corrupt, and rebuilt it from the modified XML file.
This worked great for all the music but caused the following issues:
1) iTunes no longer showed any of my purchased iPhone apps being present in iTunes.
2) The previously hidden podcasts videos playlist (which normally just appears on my phone) was now visible. Also a second new playlist called podcasts appeared.
3) The podcast list under library in iTunes which shows my subscribed podcasts is now blank,
I have temporarily reverted back to my original XML and itl files until I resolve this issue.
Does anyone know how to get around those issues or another method to move music without having to consolidate my music under iTunes?
...added by bcadle /// July 16th, 2009 at 02:21 AM
Bcadle,why not uncheck the option in your iTunes preferences, “copy files to iTunes Music folder when adding to library”
Then select all the songs on your “Z drive” that you want to add to iTunes library and drop them into the Music list or a new playlist folder in open iTunes application on your desktop
Then iTunes will have the all the song information that is needed to play this music without having physically copied these files into the iTunes music folder.
When that job is done then you can leave the option unchecked or re check it again.
Your music files on Z disk will remain uncopied regardless of what option you pick.—————————————————-
In general, moving a whole ITunes – library – playlist info – iTunes music from one computer to a new computer is a doddle and clear instructions without any mods needed to any file are available, on iTunes support pages.
What I do, is delete any iTunes application on the new computer, copy the ITunes music folder complete into where iTunes is usually kept in the new computer, download iTunes and install it. And Voila, everything is duplicated in iTunes, playlists info etc.
If you want to move ITunes and an iTunes music folder which is on an an external disk.
Then follow the above info but also copy all the music from the external iTunes music folder from the ext disk into the iTunes music folder which is inside the iTunes folder
Dowl iTunes and install it and instantly all songs and playlists will be available.
iTunes will automatically accept the existing iTunes music folder as its default folder and immediately accept all library info in the ITunes folder.
Installing a new iTunes will not overwrite all existing files.
...added by Macintox /// July 17th, 2009 at 14:16 PM
Macintox: every now and then, someone will drop by the comments section of this entry and mention that what we spend 10,000 words describing can be done “easily”, explaining the “process” (notice the quotes) in a line or two. Today, this guy is you. With that in mind then:
“If you want to move ITunes and an iTunes music folder which is on an an external disk. Then follow the above info but also copy all the music from the external iTunes music folder from the ext disk into the iTunes music folder which is inside the iTunes folder. Dowl iTunes and install it and instantly all songs and playlists will be available.”
Two questions for you:
1. Does the
followingaforementioned process indeed keep all the playcounts & playlists of tracks from the external drive? (I don’t think that “yes” is out of the question, just checking.)2. Most importantly: you’re suggesting copying music from the external hard drive to the primary (“main”) hard drive. For many of us with large music libraries, using the primary hard drive for music is a no-no due to obvious capacity limitations. (This is what drove us to using an external hard drive in the first place.)
So, we need a solution that (a) skips the “just copy to another drive!” part & (b) allows us to keep our music where it was originally located. What Schmolle & I have written does exactly that. What you suggest—unless I’m mistaken, and I may as well be—doesn’t.
So yeah, this is far from a “doddle.”
Don’t get me wrong; I appreciate your taking the time to post a comment and help another fellow who’s having problems with iTunes. It’s just that I’ve seen the “that’s easy! do X & Y and you’re done!” so many times it’s become a sensitive spot for me. Thanks again for taking the time to add your comment to this entry.
...added by Konstantinos Christidis /// July 17th, 2009 at 21:15 PM
The first question is poorly written, I don´t quite understand it.
“Does the following process indeed keep all the playcounts & playlists of tracks from the external drive?
But If my guess is correct and you meant to write preceding instead of “following”,
then the answer is an emphatic yes.
Playlist info etc. is kept in the iTunes folder on your startup drive.
If you have ITunes application opted to use a folder on another partition or hard drive to store the music files, then only the music files are kept there. The playlist info is kept in the iTunes folder on your startup drive/ primary drive. iTunes has only just been directed to store the music files on the external drive.
What can be done easily are the two scenarios I outlined with the methods I described and all the time consumingly created playlist info will be preserved and be displayed as it was previously.
Q2 capacity limitations?
Hard drives are now quite large and maybe there are plenty of people who have enough space on say a 1TB drive to contain their music files without having to have an external disk connected.
An maybe the ext drive can be used for occasional back up.
” we need a solution that (a) skips the “just copy to another drive!” part & (b) allows us to keep our music where it was originally located”
I did not think to offer another solution for that issue but seeing as you ask
If you want to move iTunes to another computer and using an external hard drive, even the same external hard drive, to store the music files
then my description will still work and preserve all the playlist info.
All the playlist info is contained in iTunes music folder on your start up disk.
Copy that to your ext drive or whatever.
Delete all iTunes from your new computer and copy your duplicated iTunes folder into your new computer, into the same location, attach your external drive with iTunes music files, download latest iTunes and install.
The new iTunes will display all the playlist info. Just the same as when you install an update of iTunes which Apple will pester you about. Can you imagine the storm if installing an update wiped out your playlist info?
Sorry if I have butted in, I only thought to give an answer to Bcadle, which I hope was clear enough.
And what brought me here? it just so happens that I am moving my iTunes library and had a blank as to what what I did last time
...added by Macintox /// July 17th, 2009 at 22:57 PM
Macintox: thank you for the reply.
“If my guess is correct and you meant to write preceding instead of “following”, then the answer is an emphatic yes. Playlist info etc. is kept in the iTunes folder on your startup drive.”
A-ha, I see. (That pretty wild guess would be correct, BTW.) I’m aware of the fact that all of the metadata is stored in the iTunes Music folder (regardless of whether you actually keep music files in there or not); I hadn’t realised that when you were talking about copying music from the external drive to the iTunes Music folder, you were referring to the drag & drop method you described in the first paragraph of your previous comment. I was thinking you meant actual file transferring from one folder (drive) to another; my bad, thanks for the clarification.
“Q2 capacity limitations? Hard drives are now quite large and maybe there are plenty of people who have enough space on say a 1TB drive to contain their music files without having to have an external disk connected. An maybe the ext drive can be used for occasional back up.”
You’re forgetting laptop users. It’s a given that the prices of hard drives have fallen dramatically; I should know better since I’m surrounded by several external drives. But I cannot possibly store my music library in its entirety in my laptop’s hard drive. It’s a safe bet that I’m not alone in this.
“If you want to move iTunes to another computer and using an external hard drive, even the same external hard drive, to store the music files then my description will still work and preserve all the playlist info.”
My hastily-written previous comment is to blame for this. “Keep stuff to an external drive, but also allow for possible folder changes, etc. (i.e. the path isn’t exactly intact)”; that’s what I should have written before (and that’s where the “Search & Replace” feature of text editors come in handy, as I write in the tutorial). And unless I’m mistaken, what you’re writing above shouldn’t work here.
“Sorry if I have butted in, I only thought to give an answer to Bcadle, which I hope was clear enough.”
Oh no, as I said before your comments are appreciated and your intentions aren’t misunderstood. (It’s just the “it’s easy as pie!” bit of your comment that hit a soft spot.) Thank you for taking the time to add your tips and suggestions here; it can only be more helpful to other fellows facing the same problem. The hack that you are suggesting is indeed clever.
...added by Konstantinos Christidis /// July 18th, 2009 at 16:24 PM
hey everybody, first of all my thanks to the original guide, I did the whole thing and it went great.
it is just that since the re-location I have a major problem:
I can’t add new files to the library! I tried both drag-drop, and the wizards in itunes (including “add folder”).
itunes just “ignores” those actions.
it’s itunes 8, by the way.
thanks in advance for anyone who may help….
...added by Nytro /// July 22nd, 2009 at 11:10 AM
Hey I just wanted to thank by Konstantinos for breaking down the steps. I purchased a new computer last week and dreaded the migration from my old PC, but this worked out great.
One thing that took me a while to nail down was the editing of the XML. In my case, I had multiple drives/partitions on my old system so I could keep music files separated from my videos and such. I had to do a find and replace a number of times before i finally got it right.
I do want to point out that in original XML file, the folder paths were labeled with forard slashes instead of backslashes (eg. C:/Documents and settings/username/My Documents/Mp3), so I made sure to stick with forward slashes in my find/replace procedure.
I still have not been able to recover my podcasts in the library but I’m not too worried about it. They were all free and I hardly used any of them.
Anyway, thanks again for posting this page and making it easy for me get this accomplished.
...added by CharlesAlvear /// July 24th, 2009 at 03:53 AM
I’m sure I’m missing something but…. I followed the steps at the top very carefully and every time I open iTunes after renaming the file paths it gives me the message,
“The file “iTunes Library.itl” does not appear to be a valid iTunes library file. iTunes has created a new iTunes library and renamed this file to “iTunes Library (Damaged).itl”.
Upon clicking “ok”, which is the only button available, iTunes makes a new .itl file and opens with none of my music in it, not even local music in the folder it states is the music folder.
By the way this same message and action occurs if I only delete all contents of the .itl file without changing the .XML file at all. I tried deleting the .itl contents with wordPad, Notepad, and EditPad Lite.
I can’t seem to get iTunes to rebuild a library with music in it in any scenario.
I’m using iTunes 8.1.0.52 running XP and am trying to move my music from an external hard drive to my laptop hard drive. (I’ve had to plug into the external hard drive for years every time I want to listen to music or sync my ipod.)
Any help?
...added by James /// July 25th, 2009 at 22:50 PM
I have the same problem as James. I’m running iTunes v8.1.1.10 on Vista. To add to the info Jasmes posted:
The xml file went from 8MB (before and after doing the find-replace in WordPad) to about 22kB (after opening iTunes). I opened it in WordPad and the data tag for each category and playlist (music, movies, audiobooks, etc) now looks like this:
AQEAAwAAAAIAAAAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAA==
Also,
I used Notepad to blank out the I hope this helps with the troubleshooting… has anyone found a solution?
I sure am glad I backed it up first, thanks for the firm suggestion K!
...added by Sarah /// July 26th, 2009 at 07:47 AM
James: I think I may have found the solution!!
For some reason my xml file was named iTunes Library.xml insetad of iTunes Music Library.xml. What you need to do is rename it to iTunes Music Library.xml after you do the find-replace with WordPad.
Best of luck!
-Sarah
...added by Sarah /// July 26th, 2009 at 10:21 AM
That did it!!! Thanks Sarah! There was a file named iTunes Music Library.xml but it hadn’t been modified for a few months while the one apparently being used was the one named iTunes Library.xml. Just deleted the old one, did the global file location change, then renamed that one to the include “Music” in the file name. Worked great…Thanks. And thanks Konstantinos!
...added by James /// July 28th, 2009 at 05:15 AM
CharlesAlvear: thank you for your kind words, glad the HOWTO proved helpful.
James: cool! Glad to see the problem’s now fixed.
And Sarah, thank you for taking the time to post here in order to help another fellow; rock on!
...added by Konstantinos Christidis /// July 28th, 2009 at 05:47 AM
Konstantinos Christidis is correct. Many of the assumptions Macintox made are not valid in my case.
1) The files are put on an external drive because there is at least one user’s laptop that will be including the music files to their playlist. Also, and more importantly, the point on moving them to the NAS was so that I can have a single location that all the computers in the house can access the files. It would be a waste of disk space to have duplicate files on each and every computer. The reason they are on a NAS, as opposed to a PC that it is always powered up, is that the NAS uses less power and is quieter than a full fledged PC.
2) The directory that contains the music folder on the NAS is mapped to a drive letter (the Z Drive) so the path to the music changed. Macintox solution does not work if the path to the music changes from something like “C:Documents And SettingsXXXXX” To Z:Music. This is obvious when one looks at the XML file. You can see that absolute paths are specified in the database.
Now if someone can show me another solution which allows me to change the path to the music without losing my playcounts and playlists than please let me know. Alternatively if someone has a way to share music amongst all the PC’s in the house without duplicating the music files while simultaneously converting my computer to run in as low power and as quiet as my newly purchased NAS than I could use that method. Somehow I think the latter isn’t going to happen.
BTW, I made it passed my previous issues with the apps and the podcast subscriptions by reimporting them back into itunes.
Thanks so much Konstantinos for the only solution I found that remotely worked. It is ashame that iTunes does not have some path independent approach to keeping track of all music, apps , podcasts etcetera. Apple could have at least included a tool to move the music to another location without having to have iTunes copy the files into the iTunes Folder as an irreversible operation. I mean come on Apple, get a clue.
...added by bcadle /// July 28th, 2009 at 08:39 AM
bcadle: I appreciate your comment, thank you for your kind words.
...added by Konstantinos Christidis /// July 29th, 2009 at 15:54 PM
I love how much thought you put into this—kudos! Unfortunately, I can’t give you my take because I haven’t tried this yet, and I’m still hesitant about doing so.
Honestly, I could caare less about play count, genre, etc…the date added is an important feature to me mostly because of its sentimentality factor. Though I read through your steps more than once, and then skimmed over a portion of the comments, I’m a bit too computer illiterate to fully comprehend what and how this is being accomplished.
But now to my point—I like having iTunes manage my songs for me, and I also don’t have room in my D:drive for my music. I read something about simply transfering the .xml and .itl files from the previous machine. Have you tried this out yet? I’m afraid that if I try this, something might happen and screw up my iTunes.
My hard drive recently crashed so I uploaded everything from my iPod and a very old backup disk.
Sorry this comment was so long!
...added by pockyreiko /// August 6th, 2009 at 11:03 AM
Hi all, I wish I had found this site before I did exactly what I am reading that I shouldn’t have done! I have a PC and it was running out of room to hold all of my music. I copied the Itunesmusic folder and changed the location of the folder under the advanced options to an external hard drive. Now when I open Itunes, I do not have any music or playlists. How do I safely correct this?
...added by chuckles /// August 12th, 2009 at 19:54 PM
I tried this, and it worked great; playlists, playcounts, everything there, but my computer can’t find the location of the files. I think I may have mixed up something with Part 1, anyone have an idea how to get it so these files are found?
...added by pauldw /// August 15th, 2009 at 07:52 AM
Thank you soooo much!
Works like a dream _
You are a star!
...added by stephanie f /// August 18th, 2009 at 01:01 AM
Stephanie: thank you for your kind words.
...added by Konstantinos Christidis /// August 18th, 2009 at 14:14 PM
Okay, this worked for me on a Mac running Leopard with Itunes 8.2.1 with one small difference: I did not select all and delete from the Itunes Library file (thereby damaging it). I simply did find and replace with the new path for the external hard drive in the .xml file and everything was the same as before! Even all playlists and podcasts were kept!
Took me a couple of trial and errors to figure this solution out.
Thanks again!
...added by Kevin /// August 19th, 2009 at 05:59 AM
wow, sike. actually that didn’t work… i’m retarded. what am i missing here? when I delete the contents of the .itl, nothing works.
...added by Kevin /// August 19th, 2009 at 06:01 AM
I guess I am just messing up the find and replace. What is the path to an external drive? I tried ://Volumes/(External Drive) with the space and this seemed to work but every music file came up with the podcast icon.
...added by Kevin /// August 19th, 2009 at 07:29 AM
I figured it out. Thank you for not listening oh digital world.
...added by Kevin /// August 19th, 2009 at 10:42 AM
hey everybody, first of all my thanks to the original guide, I did the whole thing and it went great.
it is just that since the re-location I have a major problem:
I can’t add new files to the library! I tried both drag-drop, and the wizards in itunes (including “add folder”).
itunes just “ignores” those actions.
it’s itunes 8, by the way.
thanks in advance for anyone who may help….
...added by Nytro /// August 19th, 2009 at 15:48 PM
Is it just easier to remove Itunes and re-install? I’m afraid…...
...added by chuckles /// August 24th, 2009 at 22:34 PM
I did this to copy my itunes library from my desktop to my laptop, using an external harddrive to store the music. The itunes library was fully created, but the songs have a weird icon next to them and they wont play. However, when I click on the mp3 file directly from the external harddrive, it plays just fine in the itunes library. Can anybody help me? Why dont the copied songs in the library play?
...added by Doug /// August 25th, 2009 at 03:13 AM
Just did this with iTunes 8.2.1.6. I needed to preserve all the files I had selected for syncing and it worked a treat!
Doug, I suspect that you updated your xml file with the wrong path in step 5 of part 2. The little icon means that itunes doesn’t know where to find the files (it’s a little grey exclamation mark right?).
...added by Jono /// September 3rd, 2009 at 12:41 PM
Thanks for the advice and guidance. I now have successfully moved my 45gb iTunes library from one partition to another on my pc. Your guidance is exact, although I did of course have to delete the original files in order to free up partition space on the original location (after I’d copied them obviously
) – that was brave, eh?
...added by Bob /// September 6th, 2009 at 12:19 PM
I just tried this, only to encounter the same problem as James and Sarah did above. The problem being, I did not back up the XML file. This is because, following the instructions, I simply backed up the folder titled ‘iTunes Music’. Unfortunately this folder did NOT contain my iTunes library information (XML file etc). I am in no way blaming Konstantinos for my own stupidity, but I just thought that I would tell others of my plight before others experience the same thing. Again- be sure to back up the XML folder, if you mess it up and have no backup, there is no recovering your information (as happened to me, thankfully I am not too traumatized
...added by Brian /// September 17th, 2009 at 21:55 PM
Brian: sorry about that. For what it’s worth, I do caution readers to backup everything… not just their music files. Nevertheless, I updated the original post with a note to make sure they backup the library files as well.
...added by Konstantinos Christidis /// September 18th, 2009 at 14:45 PM
thanx.. that was really helpful!!
...added by Sarah F. /// September 19th, 2009 at 08:59 AM
I was able to follow this procedure previously two times.. But the same is not working with iTunes 9 (9.0.0.70)..
I moved all the files under iTunes folder to an second hard drive (D:/Music/iTunes) and cleared the ‘itl’ file.. But despite that, everytime I open iTunes, it’s creating new ‘itl’ and ‘xml’ files in the default location (C:Documents and SettingsAdministratorMy DocumentsMy MusiciTunes)..
This version of iTunes doesn’t seem to recognize the folder change we make under preferences.
...added by Vish /// September 22nd, 2009 at 21:07 PM
As Vish said above, despite the fact that you change the iTunes Media Folder Location to where you re-locate the library files to, iTunes still wants to look in the default location.
I am using iTunes 9.0.1.8, and was finally able to get it to work by putting my music in the new location, but simply leaving the libraries in the iTunes folder in the default My Documents/My Music folder.
...added by Vandy013 /// September 24th, 2009 at 05:11 AM
I am very impressed and thankful!
Easy and clear guide. Thanks a bunch, just what I needed!
Unfortunately it didn’t work properly getting all the Podcasts, but those are easily re-downloadable.
Perhaps you ought to do a guide on how to do this in the newer versions of iTunes, since it’s a little different.
Again: Thanks!
...added by Bergur /// September 28th, 2009 at 10:48 AM
Bergur: you’re welcome. Thank you for your kind words.
As for doing a guide for the newer versions; sadly, that’s not in my plans since I’ve more or less quit the “writing tech pieces” gig.
...added by Konstantinos Christidis /// September 28th, 2009 at 18:14 PM
cheers..worked out great…should be added to itunes help
...added by v /// October 4th, 2009 at 13:06 PM
Hi there, and thanks for the great blog post.
I’ve got a problem which iTunes 2nd line support don’t seem to be able to get their heads around. My old hard drive contained three folders – My Music, My Music (classical) and My Music (Oldies). All worked happily in iTunes, until I reformatted and reinstalled Windows XP a couple of days ago.
I’ve tried the suggested approach and when I copy across the old data from the backup folder, I lose all the location information for the mp3 files that are in the second and third folders. Since I’ve got nearly 4,000 tracks, I really don’t have the heart to go through the “locate” function for all of them, including the playlists.
So I tried zero’ing the ITL file, but it only recreated about 75% of the music files; a number of playlists were only partially complete, and two, which contained ONLY music from the third folder, were completely empty.
Is there any way I can get the mp3 files imported and playlists protected?
For obvious reasons I haven’t yet attached my iPod Touch, as I’m assuming that it’ll screw that up too!
Many thanks,
Trent SC
...added by TrentSC /// October 23rd, 2009 at 15:38 PM
Frightfully poor form to reply to one’s own post, but I found the answer, and if anyone else is dumb enough to have their music files in different location, this might help!
OK, here’s what I did:
1. Copy up the contents of …My DocumentsMy MusiciTunes to a separate location.
2. Reformat and reinstall Windows.
3. Install and open iTunes. Go Through whatever start-up process it wants to.
4. Close and uninstall iTunes, and remove the contents of …My DocumentsMy MusiciTunes, but leave the empty folder in place.
5. Reboot the computer.
6. Reinstall iTunes and open it. It shouldn’t go through the start-up wizard this time.
7. Consolidate the folder structure of my music files, so that all my music in contained within a single folder (although there are multiple folders in there!).
8. Open the backed-up file iTunes Music Library.xml in EditPad Lite and find/replace the file locations for the moved files. I needed to add ”%20” instead of spaces. Save the file.
9. Open the backed-up file iTunes Library.itl, delete all the content and save it.
10. Copy all the contents from the backed up folder into …My DocumentsMy MusiciTunes.
11. Open iTunes.
iTunes should then rebuild the ITL file from the XML content. In my case, it all worked fine: the music content from the three separate folders all played fine (where before iTunes couldn’t find about a third of them) and all the playlists are complete, which previously wasn’t the case.
This is something that iTunes’ 2nd-line support said wasn’t possible – their only suggestions would have resulted in either losing the majority of the playlists, or having to manually locate about a third of my 3,900 mp3 tracks. They also weren’t willing to advise on editing the XML file.
I certainly wouldn’t have got this sorted without having ploughed through this excellent blog – many thanks to the author and the many contributors.
Trent SC
...added by TrentSC /// October 23rd, 2009 at 16:49 PM
TrentSC: thank you for the detailed write-up, I appreciate it.
...added by Konstantinos Christidis /// October 24th, 2009 at 23:45 PM
Hello,
Thanks for this explanation, because I’m supposed to switch in the weeks to come (my new imac 27 will arrive in november !).
With the latest version of itunes, do you think the option “File-Library-Library organisation-consolidate files” can move my situation from “Part 2” to “Part 1”?
I tried a test and with this option all the music is copied in the iTune repertory : Do you think I just have to move the whole iTunes to the iMac and get the job done ?
What happens to the iPhone and all the apps I baught ?
Thanks for your help and this really helpful blog !
Olivier
...added by Olive /// October 28th, 2009 at 13:57 PM
Olivier: I’m not sure. It’s been a couple of years since I wrote about this trick and I don’t know exactly how the newest versions of iTunes handle it.
...added by Konstantinos Christidis /// October 28th, 2009 at 14:05 PM
Thankyou!
...added by Chamo /// October 28th, 2009 at 15:40 PM
Konstantinos,
I’m going to make backups of my present situations (iTunes is not managing the library), then I will consolidate everything and try this (fast?) method. If this works, I will tell you. I it’s a mess, I will tell you also! (and then use my backups. But my iMac will arrive in few weeks, so if someone is ready to try before me
...added by Olive /// October 29th, 2009 at 09:46 AM
Olive: that would be great. Hope everything goes fine!
...added by Konstantinos Christidis /// October 29th, 2009 at 16:38 PM
This did not work for me. WinXP. iTunes 9. It created a file “iTunes Library (damaged)” as you said it would, but then wouldn’t launch. Wouldn’t launch until I put the original library file back.
...added by Glen /// November 4th, 2009 at 02:32 AM
So, was there a consensus as to what process works best if you’re transferring from a PC to Mac and all your music is on an external harddrive? If so please email me at kindalike@gmail.com
I can’t figure this out for the life of me.
...added by jay /// November 8th, 2009 at 07:36 AM
Hokay, after doing this and then realising that iTunes9 doesn’t read the xml file, and just creates a new one, figured out how to get it to re-recognise all of my files – do everything the same until you have modified the xml file, but save it in a separate location. Once you’ve opened iTunes and are confronted with a clean empty view, import the xml file as a playlist, and all your music/playlists are there. Alas, have not worked out how to recognise already downloaded applications yet. Grrrr.
(oh, and doing this with Chinese/Japanese characters has no problems either)
...added by Pippi /// November 14th, 2009 at 02:29 AM
Awesome simple and clear article dood! Works a treat for iTunes 9.x if you move from Vista to Windows 7.
...added by Simie /// November 21st, 2009 at 06:44 AM
Simie: thank you for the kind words. Glad you found the HOWTO useful.
...added by Konstantinos Christidis /// November 21st, 2009 at 15:58 PM
Man, I struggled with this for ages- My situation is unusual in that I don’t use .mp3 files, only .wav format, and thus no metadata. So of course, all migration methods that rely on metadata failed completely and after a lot of pain (including trying to edit the .xml file and wondering why that didn’t work) I just figured this couldn’t be done. However, your way seems to work perfectly, especially since I don’t care at all about “date added”, playcounts or any of that- Just the track/album/artist info.
You’re an all-time fuckin’ legend.
Kudos and huzzah to you sir!
...added by Peter /// November 30th, 2009 at 05:04 AM
Peter: woah, flattering words, thanks! I’m glad you found the HOWTO helpful!
...added by Konstantinos Christidis /// November 30th, 2009 at 16:10 PM
THANK YOU SO MUCH.
I’m so glad there are people out there willing to fix failed Apple programs. THANKS! ;D
...added by Rad /// December 1st, 2009 at 11:23 AM
Rad: thank you for the kind words.
...added by Konstantinos Christidis /// December 1st, 2009 at 20:03 PM
Thanks for a great post. Just used this technique to rebuild my itunes library on a new computer, using all my music on an external hard drive. I can say it appears to work on iTunes 9 and Windows 7.
...added by Dan /// December 5th, 2009 at 14:40 PM
Dan: thank you for the kind words, and thank you for updating us on the situation w/r/t iTunes 9 and Windows 7.
...added by Konstantinos Christidis /// December 5th, 2009 at 17:13 PM
Wow, this worked wondefully!
I was doing the find/replace in the XML file, but every time I restarted iTunes, the changes wouldn’t take effect and the file would revert to its original state.
I would’ve never guessed that the .itl file is where the data really is.
Thanks! Such a relief to have figured this out.
...added by Nick /// December 5th, 2009 at 23:45 PM
Absolutely unbelievable that this is not catered for in ITunes.
Its worse when you just want to move a couple of directories around, e.g I have a pending folder full of music that I would like to sort into appropriate locations.
Why is this so hard, why does Apple insist on making this so hard in Windows?
Here is another one, say a file has been deleted from the disk and you get the little i meaning ITunes can’t find it, tell me how do you find out what the file path is? You can’t there is no “file path” column or property?? WHY WHY WHY, I am a developer and I cannot understand the mentality of the Apple team, it must be a Mac thing.
Yuk.
...added by apple dev team /// December 14th, 2009 at 15:43 PM
Hi all,
Very usefull site, thanks for the great work.
I’ve a sligtly diffrent problem, relate to this. Appologizes if already answered, I tried to read it all, but I might have missed one.
For three days, CD imports go on the local HD (... My Music …), rather to the defined library, defined on my NAS in Preferences. Does anyone knows how I can modify the destination ?
Detailed history :
I put my Music on a NAS, starting from a blank lib, just stating the position of the lib in the preferences. Did it with desktop home computer. It worked fine, and I was glad to put my 600th album (all lossless) before going to hollidays. I took the NAS with me. I came back, and made a little mistake when connecting back, because I statred iTune, the NAS not beeing ready. After starting the NAS, it worked all fine to play music (with files from the NAS), but each time I add a new record in the lib, it goes on the locac CD. And when i Select it and make consolidate, its jumps to the NAS !
Thanks for your help
Fedj
...added by FedjK /// January 3rd, 2010 at 17:38 PM
I checked the “let itune organise …” and made a few consolidations. The local files were not automatically moved to NAS, but the later import went there …
So the problem is solved for now …
iTune is full of mysteries …
Bye
...added by FedjK /// January 3rd, 2010 at 18:38 PM
Just wanted to provide a helpful hint to keep the original time and date information when switching over to a NAS/external drive. Instead of using the explorer window and “copy & paste” use the command line (cmd.exe) and xcopy. Example:
C:\>xcopy /E /Y /K “C:\Documents and Settings\USERNAME\My Documents\My Music\iTunes\iTunes Music\*” ”\NAS-DEVICE\Public\Our Music”
The /K keeps the original file attributes. The /Y is basically answering yes to the 6000 prompts during the copy, the /E creates the recursive directory structure. Please note that the quotes are necessary due to the spaces in the file names. Just completed the switch-over and all my album info was intact
Cheers!
...added by Bill /// January 16th, 2010 at 07:07 AM
Bill: great tip! Thank you for sharing it!
...added by Konstantinos Christidis /// January 16th, 2010 at 15:08 PM
Hi,
Just to point out that I transfered my itunes library from pc to mac using this procedure and it worked perfectly.
I almost bougth one of those softwares to transfert the ipod to my hackintosh pro, but I remembered that before formatting the pc I saved these 2 files wondering that they migth be useful to recover somthing.
Well, it was essential.
thanks a lot!!!!!!!!!!!
Cheers
...added by dzelinski /// January 20th, 2010 at 05:30 AM
Brilliant! This works so quickly and simply, I couldn’t believe it. I partitioned my HDD and after moving my data to the new partition I had lost all my playlists. I felt really stupid, but thanks to a backup and these genius instructions I was able to fix it.
(
Now if only someone can tell me how to make my Shuffle work again just as easily
Thanks!
...added by urmeli /// January 22nd, 2010 at 12:40 PM
Has anyone tried it on Itunes 9 while doing a Windows 7 install? I copied all my music over to Win 7 and tried the library trick above, but Itunes only rebuilt the portion of my library that was purchased from Itunes. Everything else (95% of my music) was ignored. I really don’t want to create the playlists again…
...added by Chris B /// January 31st, 2010 at 05:11 AM
Another question about iTunes v9 and whether it all works. I used this process once before many years ago, but now need to move everything again. Just wanted to check before giving it a shot!
...added by Rex /// January 31st, 2010 at 22:32 PM
Hey guys.
Well- I read the manual from all above – exluding the comment concerning time and date stamps. Unfortunately these now seem to be lost – but somehow essential for my collection because there are many badly tagged tracks in there – making the adding by folder the only nice way to sort things – as iTunes still doesn´t have any sort by folder option. Which UPSETS ME
Does anybody have any idea how I could reconstruct my playlist including the exact order? I´ve got the original .xml and .itl.
Cheers,
W.
...added by wolfgang /// February 1st, 2010 at 12:51 PM
Didn’t read all the comments, but a simpler (at least cleaner, less hacky) way to do this:
copy your music folders from under the itunes music library to wherever you want them—> open iTunes and delete all albums that you want to move (answer yes to moving them to recycle bin)—> then add the albums from the preferred location back to iTunes via “File, Add Folder to library…”
Done.
...added by Joe /// February 4th, 2010 at 21:48 PM
Brilliant! Worked perfectly. Chris B and Rex, I did it with Windows 7 and iTunes 9 – no problems. What a chore moving to a new computer is – can’t imagine having done it without this! Thanks!!!!!!
...added by Scott /// February 6th, 2010 at 07:23 AM
Hey Joe.
Thanks for this but the problem is I have a lot of tracks already rated and would hate to lose them as well ;(
Maybe I´ve got to tidy things up manually, setting up playlists etc.
Cheers,
W.
...added by wolfgang /// February 9th, 2010 at 01:56 AM
I store all of my music on an external hard drive so re-adding it to my new computer was no problem (since it was in the same place…)
Of course I’m missing all of my playlists and my track ratings. What’s the best way to remedy this? ( Windows 7, itunes 9)
Many Thanks!
...added by hipcat /// February 14th, 2010 at 00:18 AM
Wow, I’m helping a buddy set up a new Windows 7 computer and told him I’d handle getting his iTunes library moved over from his old machine that runs XP. After reading through this I’m happier than ever that I don’t use iTunes myself, though I still am scratching my head as to what to do. Can’t I just back up his iTunes folder to an external hard drive and then have the new computer grab the library from there? Just scanning the comments above makes this seem horribly convolute. Thanks.
...added by unclelobsterman /// February 20th, 2010 at 12:19 PM
Thanks greatly for this tip.
I can also confirm this works on iTunes 9.0.3.15 on 64-bit Windows 7.
Note (like a post above) after I zeroed the “iTunes Library.itl” and started iTunes nothing happened. I could see it running the in background, but I got no user interface (I minimized then closed all windows to be sure). I left it for 12 hours – still nothing – I had given up. Then miraculously after doing some other work I found an iTunes dialog hiding under a window asking me to repair iTunes … and voila – all tracks/ratings recovered!
FYI. I suspect the dialog was hidden from the desktop and become visible only because of some system event (I can only think it was either; inserting a USB drive which presented a dialog with how to open the files, adding a Windows Component from Control Panel which asked for a reboot, or installing Windows Updates which presented a restart dialog).
...added by Toby /// February 20th, 2010 at 12:59 PM
Worked for me using iTunes 9 on Win7×64, thanks!
FWIW, I have written some perl scripts in the past using the iTunes COM API, so I was thinking I’d do the same thing here. Alas, there is no way to modify Location() (the path to the file) via the API (nor can you modify DateAdded()). Still, most of the fields can be modified, so if someone were so inclined they could write a script to automate some or all of this process – i.e. save all the metadata, remove and replace all the tracks, and update the new tracks with the old metadata (with matching based on trailing pathnames). I have a script that syncs iTunes/WMP metadata in a similar way that could probably be adapted to the task. Not sure if this would be any better than the method above, although it could probably avoid the podcast and column layout issues.
...added by Todd /// February 22nd, 2010 at 20:09 PM
Todd: thank you taking the time to leave a comment.
That sounds very interesting indeed; if someone could come up with such a script it would be a tremendous help to all those iTunes users facing this problem.
...added by Konstantinos Christidis /// February 23rd, 2010 at 02:50 AM
Hi,
I’m about to do this migration from one laptop to another running Windows XP and ITunes Vers 7.6.1.9.
I think I’m nearly ready but I’m a bit nervous about editing the .xml file, mainly because when I open it all the “” I expected to see in the path are represented as ”/”, which means that the screenshot for the global search and replace won’t work. Any ideas on this? I’ve read that I do need to include ”%20” as spaces too.
All help greatly appreciated. Steve.
...added by SteveR /// February 23rd, 2010 at 16:04 PM
That comment didn’t work like I’d hoped. It should read that all the back slashes in the xml file appear as forward slashes / which doesn’t match Windows path names….thanks.
e.g. file://localhost/S:/MP3%20Albums%20-%20Main%20Library/
...added by SteveR /// February 23rd, 2010 at 16:06 PM
SteveR: in that case, experiment with the schema that’s already in place (i.e. the “file://localhost/...” one) and do the corresponding search & replace. That’s what I would do if I were in your position. (Please note it’s been a few years since I last tried this process and wrote about it.)
At any rate, keep backups!
...added by Konstantinos Christidis /// February 23rd, 2010 at 16:21 PM
Though i did not read through all the comments i had a different problem than is tackled here but i was able to combine the two solutions and add one more which i will describe in detail.
I lost all my music because the iTunes managed library on a secondary HDD was lost due to HDD failure. Everything was on there! Luckily, my music was backed up on my iPod and my .itl was undamaged on my main drive! After purchasing a new HDD and creating a new music folder:
Step 1: Copy my music back from the iPod.
I hesitate here because I wonder of things would have been different had i not used iTunes without my music and more importantly the file structure being there. I digress, needless to say:
Step 2: Point iTunes to the new music folder with all the music in it.
At first glance it worked! exclamation points gone, highly rated playlist filling up! This is a playlist containing 4-5 star rated songs, thus proving the ratings are intact.
Weird problem occurring: some of the songs in the rated list have exclamation’s!?
I can’t imagine why so i look closer and find close to 30% of my library is pointing to the wrong folder! (users/itunes/itunes music).
WTF?
The only solution seems to manually point each song to the new location… but it’s a nightmare because there seem to be about 2024 songs with bad location strings.
I find this site and immediately close itunes and open the 10,573k library.xml file to perform a find & replace. For those who are unfamiliar with find and replace it is basically tool that Word and many other programs have that finds an exact phrase you type and replaces it with one you want. eg:find their and replace with there it will find all the their in your large document and replace it with there the trick is sometimes you want there and other times you want their. This caused another problem which I explain below.
Word (from Office 07 on vista 64) cannot open a file this large or the .xml (lawsuit fallout? haha j/k)
anyway, notepad opens the 10.5mb file with ease so I cut and paste it into an open word .docx for the find & replace function.
I run the find for:
Locationfile://localhost/C:/Users/*mycomp/Music/iTunes/iTunes%20Music/*
and replace with:
Locationfile://localhost/W:/Music/
Then I fix the .itl file then save and close it.
Opened itunes and it rebuilt my library and it worked fine!
But i noticed some songs missing now, less songs than before but they weren’t even in the library anymore.Some songs are gone from the library alltogether, I check the xml and it has dropped by 30%, my lib.xml file is only 7.5mb now
First I tried the process over again from a backup i created of the untouched lib file, hoping I made a mistake. I got the same result.
I did confirm that out of roughly 6200 songs, the ‘find and replace’ made 2024 corrections and further went to check that some of the files were fine that originally had a bad location string. Here is where I found something interesting:
some of the original library files were pointing to C:/Users/mycomp/Music/iTunes/iTunes%20Music/ and of course it was changed to W:/Music/ however some of them, specifically songs that were a part of compilations were pointing to W:/Music/compilations/alubum as opposed to the fixed files which were W:/Music/artist/Album
So that’s it: the problem was that the iPod’s file structure was apparently different than iTunes Library file structure when referring to compilations.
unfortunately there is no find and replace with a variable which is determined by each song (record/ key). Not in word anyway, so i am currently working on a short script which will find the word ‘compilations’ and replace with the ‘artist name’ based on the record in which it finds it. (im sure there is a better way to describe this, sorry).
Astonashingly, the folder compilations is in the iPod, but there are only 3 songs in three respective folders yet i have thousands of songs in compilations based on what the lib.xml points to.
...added by aka:P /// February 24th, 2010 at 20:20 PM
oops, typo city
...added by aka:P /// February 24th, 2010 at 20:21 PM
If anyone uses the NTFS file system I have a fast way to move your existing directory structure in no time using junctions. Junctions are basically invisible links to folders elsewhere in the file system. I have not been able to make it work with mapped network drives though.
I have a dedicated F: drive for mp3’s and iTunes libraries I use. The trick I use is not to “move” it but to redirect where windows “looks” for the data or mp3’s in this case. After running the proper command the data will be accessible from both locations as if there were actually there. That means a change in either places affects the file directly as each file technically only exists in once place.
Google ‘junction’ from sysinternals and download it. Extract it and from that directory open a command line.
Command I used to get the default iTunes folder to point to “F:iTunes db” is:
junction “C:Documents and SettingsMarioMy DocumentsMy MusiciTunes” “F:itunes_database”
Make sure you use quotes if any spaces are in the paths.
Using this method, you cam move your root mp3 directory wherever you want without doing anything in iTunes.
...added by Mario /// February 25th, 2010 at 17:06 PM
Mario: that’s a great tip. Thanks for sharing!
...added by Konstantinos Christidis /// February 25th, 2010 at 17:40 PM
Thank you for this guide. It was very helpful. I successfully moved everything from my pc to Mac.
BUT EVEN BETTER…:
it moved my iPhone partnership too. This meant I could keep ALL the data on the iPhone and now sync with my new Mac. GREAT! Please, share this in your article, I think it will make a lot of iPhone owners happy!
Thank you again!
...added by Dennis G. /// February 26th, 2010 at 22:56 PM
When I tried this with iTunes 9, I made all the needed changes to the .xml file and then the new .itl file was created, but iTunes stated “Your database file appears to be corrupt, a new one will be created and called ‘XX iTunes Library (Damaged).itl’”. Thus it just created a new blank file.
...added by Shoe /// March 3rd, 2010 at 23:18 PM
Shoe,
I have the same problem.
Speak up if anyone else does. I’ll let you know if I solve it. I am going to try installing an earlier version on ITunes9 and then if it works, upgrading then
Steve
...added by Steve /// March 15th, 2010 at 19:50 PM
No need to reinstall or downgrade.
I had the same problem and was searching around for solution when it occured to me that there’s an option to export the library.
If you can export the library then you should be able to import it too. And you can. Here’s how: http://support.apple.com/kb/HT1451
You do the same as described above but first make a copy of the .xml file and rename it something new – I called mine m drive iTunes Library.xml as I was moving to the M: drive. Afte trashing the itl file itunes starts from scratch so when you start it up it creates a new .itl and a fresh .xml. Next select import playlist (it’s not just for playlists!) and select the renamed xml libarary file. It will take a while but eventually your library will be restored and in the same new location too.
It’s Apple approved! http://support.apple.com/kb/HT1451
...added by steve norgate /// March 16th, 2010 at 02:19 AM
I had the same problem with 9 and I was frustrated that this has changed until I read all the way through these posts.
The trick is to import your modified library. In fact Apple tells you how to do this already : http://support.apple.com/kb/HT1451
Even if you manage your own library in terms of where the files are stored you can still reimport your edited .xml file.
I had a problem because I had added tracks to the library on one computer which mapped my NAS to J: and trying to find them on another computer which mapped my NAS to M:. The library had most of my files on the J: path so I had to do a global search and replace of J: to M:.
I realised afterwards that I could have just removed all the songs from my library and reimported the modified .xml rather than trashing the .itl but that’s what the Apple help said to do as well so I didn’t think it through.
...added by steve n /// March 16th, 2010 at 11:41 AM
fantastic thread. amazing detail and great additions to help all. Thanks too to Steve Norgate for the additions
...added by Waynestrout /// March 17th, 2010 at 22:34 PM
Thanks you SO much for this post—
I’m not at all computer saavy—and still use itunes to deal with all my music. But thanks to you I was able to correct a horrible error I made attempting to transfer storage of my music files from Mac ibook to a Lacie drive. (I originally simply changed the settings w/n itunes for where music is supposedly located, then dragged and dropped the music files into a folder I created on Lacie, and deleted the old music files from my mac). Of course at that point iTunes was no longer able to locate the music files and I was looking at having to manually locate every single song.
But this fix worked perfectly. A tip for the non computer savvy out there—in order to figure out what exact wording I needed to replace the location entry with I first did a test where I dragged a song from lacie drive directly onto open ITunes application. (To itunes this is as if I added a whole new song). I then opened the iTunes music library file in a text application, did a search for that song (the version that was on the Lacie obviously) and copied the exact phrasing that followed the “location” entry, so that I would know what to replace all the old mac location entries with… worked like a charm!
...added by Celina /// March 24th, 2010 at 02:23 AM
I think I’ve gotten the path wrong on my xml.
itunes on my new mac didn’t display any of the tracks.
Given that I’ve owned my Macbook for all of a day, what do the paths looks like?
I am essentially moving music from my windows pc (d:/Mp3s) to the default directory Itunes directory in OS X.
...added by vivek /// March 26th, 2010 at 06:49 AM
Wow! This was exactly what I was looking for and worked like a charm! Thank you so much!
P.S. – My problem was i had copied all the music onto the new computer’s HDD but did not know how to get the ratings back till this.
Fantastic job
...added by Gaurav /// April 27th, 2010 at 22:03 PM
Thanks for this great posting! Still works in 2010, four years after original post. I just used this method to rescue my iTunes on a PC with window XP. It couldn’t find any of my songs after I had to remap the drive letter on which My Music and iTunes folder resided on. After backing up the entire library, iTunes Music Library.xml. and the iTunes Library.itl, I did find/replace for the drive letter in the xml file. I then deleted the entire contents of the .itl file and resaved it. When I reopened iTunes, it said the library was damaged and it created a new .itl file after it asked me. I wonder if it would work just as well to delete the .itl file instead of saving an empty one.
In any case, thanks for a really useful post!
Lon
...added by Lon /// May 3rd, 2010 at 20:19 PM
Waynestrout, Celina, Gaurav & Lon: thank you for your kind words. I’m glad you found the instructions helpful!
...added by Konstantinos Christidis /// May 3rd, 2010 at 21:33 PM
you saved me—thank you so much, was just about to give in and start from scratch with my collection, after moving files without thinking.. have hundreds and hundreds of playlists on multiple disks ,and was dreading the idea of rebuilding everything..:)
...added by joe /// May 14th, 2010 at 01:12 AM
Just an additional note how to move single files (a few) with iTunes 9.1.0.79 on Windows (I guess it works with other versions as well, but haven’t tested it). I don’t let iTunes manage my files, which are not in the iTunes folder (I have them on my NAS, but it doesn’t matter where they are). But when I buy from the iTunes store, files are put into the iTunes folder automatically and get a file name I’m not happy with. But you can simply rename the file with Windows Explorer or move it to another location while iTunes is running but not playing the file you want to move (to locate a file easily use the context menu or Ctrl+R). The item gets an exclamation mark icon as soon as iTunes realizes that the file is not existing any more. As soon as you try to play it iTunes asks you where it is, and you can select the new file name (make use of copy & paste to navigate to the folder quickly). You don’t lose any information (like the date when the file was added). It’s a bit cumbersome for a lot of files, but if you want to move a few files it works great.
...added by Jens /// May 15th, 2010 at 13:09 PM
works awesome with iTunes9.1 and windows 7, THANKS!
...added by scott /// May 16th, 2010 at 07:11 AM
Worked perfectly with Windows 7×64 and iTunes 9.1.1.12 64-bit!!
Thanks a lot this saved my life!! Awesome guide!!!
...added by Ankit /// May 18th, 2010 at 17:27 PM
Joe, Scott & Ankit: thank you for your kind words. Good to know the instructions were helpful!
...added by Konstantinos Christidis /// May 18th, 2010 at 17:33 PM
Hey,
this worked out. with some modification!!
my task:
i wanted to migrate my windows7 – itunes 9.1112 lib—> sl 10.6.3 on mbp 15 i5 – itunes 9.1112 ..
but when i launched itunes after erasing the complete .itl content, it didn’t try to recover it, but just opened itunes and replaced my .xml and .itl and itunes was like outta the box..
i tried this and that and finally, i deleted just half of the content of .itl
AND
it worked out! it even moved played count etc.. now everything is added the same time, but i dont care about this.
thanks for the step-by-step-guide that made my next weekend.. was so close to give in
bye from germany
...added by Marcel_germany /// May 25th, 2010 at 21:37 PM
Thank you. Thank you. Thank you.
Similar problem to Marcel_germany. Also involved an abandanod migration to Winamp. I could restore my songs but not the playlists until I discovered the XML file and your great guide.
...added by Ian Ridley /// June 5th, 2010 at 16:23 PM
I am using iTunes 9.1.1.11 on a new install of windows 7. After blanking the .itl file and changing the paths in the xml file, it gives the message saying that the .itl file is corrupt and then opens itunes without rebuilding the library. I just have an empty library.
Any ideas?
...added by Josh /// June 11th, 2010 at 03:24 AM
It worked for me under Windows 7 with iTunes 9.2. I also got an empty library at first but simply had the wrong file name of the .xml. Thanks a lot!
M
...added by MB /// June 22nd, 2010 at 18:08 PM
This kinda worked except the last part, which seemed to be an older version of IT?
Also, you say to open the file, but not how. So I assumed to do so in text form.(?)
*But what I do not understand is, why did I have to change the file texts and go thru all this, when I have IT managing
my music, and it did not fix it automatically?
*Also, why did I still have to add the new folder once I changed the location?
Why did it not simply (re)add all files when I changed the file location?
...added by RT /// July 6th, 2010 at 11:55 AM
opened the itl file in notepad and deleted everything, edited the xml file to point to the new location and… It all worked. Thanks a lot!
...added by BigNeal /// July 16th, 2010 at 22:49 PM
this is stellar! thank you!
...added by mouse /// July 20th, 2010 at 12:46 PM
Worked for iTunes v. 9.2.1 for Mac
• 25,000 songs
• 2.25 hours for iTunes to process xml
• 1.5 hours for iTunes to determine gapless playback
imnothere’s instructions look even easier, I wish I had seen that earlier.
...added by Russ /// July 30th, 2010 at 18:25 PM
Russ: thanks for the update! I’ve added a note in the original post.
...added by Konstantinos Christidis /// July 30th, 2010 at 19:26 PM
@Josh
just edit the .xml to your new file path (or your new username) using search and replace and keep the itl the way it is, when you open ituens, all your playlists and such should be there with play counts but it still cant locate the files, locate one file in a folder and it will fill in the rest for you, closest solution i can find,
...added by Roney /// August 3rd, 2010 at 10:13 AM
Easy Peasy Japaneasy. Thanks for the instructions.
...added by McKack /// August 4th, 2010 at 19:25 PM
I am considering moving my music to another drive, again. I currently manage my own folders, but this is, at least, the third time I have relocated my music in the last several years. I am caring less and less about managing my music folders myself and am considering having iTunes do it for me. So my question is, can I simply check the box “Keep iTunes Media folder organized” then do the simple process (part 1)?
thx!
...added by Bkins /// August 6th, 2010 at 00:20 AM
“Open the “iTunes Music Library.xml” and do a global search and replace with your text editor of choice. A screenshot of how this is done in EditPad Lite, a freeware text editor that’s light and powerful follows after the end of this list.”
You don’t specify search for what and replace with what. Although I know the answer, not everyone will.
Thanks for this resource.
Dave
...added by D Rubenstein /// August 8th, 2010 at 16:07 PM
McKack: you’re welcome!
D Rubenstein: thank you for pointing out this error, you are correct. I’ve updated the guide according to your suggestion.
...added by Konstantinos Christidis /// August 8th, 2010 at 17:18 PM
“I am using iTunes 9.1.1.11 on a new install of windows 7. After blanking the .itl file and changing the paths in the xml file, it gives the message saying that the .itl file is corrupt and then opens itunes without rebuilding the library. I just have an empty library.”
I’m in the same boat as Josh. Help!!!
...added by Seth /// August 19th, 2010 at 03:36 AM
Thanks for the good and detailed descriptions! I just followed your procedure and it worked except for one thing: i’ve lost my album artwork and have no clue how to get it back.
...added by Bruno /// August 23rd, 2010 at 14:24 PM
I did this before on WinXP several times and it worked.
I just recently got a new laptop with Windows 7 and this still method of transferring your iTunes library works!! =)
Note: I am using Windows 7 64-bit with iTunes 10.
...added by diav /// September 5th, 2010 at 21:32 PM
diav: thanks for letting us know it works with the latest version of iTunes (10) as well!
...added by Konstantinos Christidis /// September 6th, 2010 at 09:48 AM
this is bloody awesome thanks!!! worked great!! I’m using itunes 10 and it worked!!
...added by hen dog /// September 17th, 2010 at 14:46 PM
hen dog: nice!
...added by Konstantinos Christidis /// September 18th, 2010 at 13:20 PM
Spot on many thanks my itunes is sorted!
if your using itunes 10 (didn’t seem to apprear in other xml files) you need to make sure you leave the file:// bit at the start if the filename
...added by Hedge /// October 2nd, 2010 at 19:56 PM
Just noticed that in iTunes 10 if you locate one of the files in your copied library, then iTunes will ask if you want it to try and locate all other files based on the one you just located.
It was able to find ALL other songs! So in the end I didn’t have to modify any XML file, empty the ITL… and the ‘add date’ was preserved!
Maybe you want to update your steps with this info.
...added by Mitza /// October 22nd, 2010 at 10:59 AM
Mitza: this sounds interesting, thank you for the update. I don’t know exactly how this process works, since I didn’t have the chance to try it, so I can’t update the instructions just yet. I’ll keep an eye on this for similar reports from other users though.
...added by Konstantinos Christidis /// October 22nd, 2010 at 13:34 PM
Thanks for the best guide on the net for Mac OSX to Windows iTunes switch.
It worked with iTunes 10.
The only addition is the .itl file is hidden and does not show up on windows explorer. My wife could not figure it out. I then had to use mucommander, find the file and edit it in line and deleted all the contents. The rebuild upon starting iTunes 10 was songs, playlist and ratings accurate. iTunes even named the corrupt .itl to old.itl !
Thanks for saving my day… from my wife
...added by Siven /// October 24th, 2010 at 04:45 AM
Siven: you’re welcome! Thank you (and your wife) for the kind words.
...added by Konstantinos Christidis /// October 24th, 2010 at 04:51 AM
sorry, in the above post I said the .itl was hidden. It is not, just does not come with the extension and my wife couldn’t figure it out.
A simple, great guide
...added by Siven /// October 24th, 2010 at 04:53 AM
Shoot, this is not working for me for some reason…
I have put my songs on a NAS which is a “network drive” with the following path:
\Nas-aa-26-0fmediaMusic
Even when I leave in the “localhost” in the xml file and switch the back slashes for forward ones, it rebuilds the .itl file when I open iTunes and I’ve got no music in there!
I have tried it without the “localhost” too, but I get the same result…
...added by Don_Pasquale /// October 30th, 2010 at 17:35 PM
Does not work for itunes 9.x “let itunes maanage your files” Found a different way that in some ways eliminates the need to do it yourself
Old Step: 1. Go to Edit → Preferences → Advanced → General. Click Change and choose a new path for your files—e.g. D:MusiciTunes.
New Step:
1a.)Delete all library listings in iTunes.this eliminate duplicates. Why? When you new steps 3a,b etc you will otherwise end up creating duplicate listings. It doesnt automagically map to these old listings. (Alternatively dont do what I just said, leave list alone, and change name of folder copied itunes from and then when itunes reboots there will be exclamation marks in first column can sort?? on and delete all duplicate entries. This is more work than its worth)
Old Steps
2. Quit iTunes.
3. Open the iTunes Music folder, select everything in there (try a Ctrl+A) and copy it to the new location. As the “Help” page notes: “Do not drag the entire iTunes Music folder, only its contents.”
New Steps
3a.)In the new location “D:MusiciTunes.” look for a folder called “Automatically add to iTunes”
3b.)Drag all contents into automatically add
Old Steps Continued
4. Restart iTunes and your moved tunes are automagically found.
New Steps
4a.)This may take a while so dont panic. It may look like initially has restored 5 albums but after 10-15 minutes leaving ituens open over 300-400 albums will be restored. Give it time
Note:This all assumes you have date modified column as one of your itunes columns open. This method plays havoc with date created but doesnt alter date modified.
...added by JK /// October 30th, 2010 at 22:22 PM
Well not exactly. I got the duplicate file listing phenomenon above no matter what I did. I suspect in retrospect it was due to having checked off copy to itunes media folder.
However, I found a very simple solution that meets my needs. Maybe its not posted because its in newer versions or maybe its not what everyone wants to do but using native itunes functionality took me one click to move folder, preserve playlists, the all important dates modified etc
http://support.apple.com/kb/HT1364
Basically what you do is
1.)go to preferences/advanced.
2.)Check off have itunes organize media.
3.)I optionally turned off make copy feature
4.)File/organize
5.)Check off consolidate files
6.)Wallah files moved and all info preserved
...added by JK /// November 1st, 2010 at 19:35 PM
Also enormously less copy/paste cpu overhead and itunes processing this way.
http://support.apple.com/kb/HT1364
If need mac version link to it on this page
...added by JK /// November 1st, 2010 at 19:38 PM
success on iTunes 10 (Mac OS 10.6) as long as you import the edited iTunes Music Library.xml file with the Import Playlist command as described in a previous comment.
If after doing this iTunes says “some of the tracks could not be found” it probably means you didn’t specify the correct path when editing the XML file.
...added by Jack /// November 7th, 2010 at 16:00 PM
Hi,
have like 300GB of Music and Audiobooks, Transferred them from one NAS to a new NAS.
I emptied the iTUnes Library, had updated the xml file with the new NAS path and opened iTunes. It took like 3 hours to rebuild the iTunes Library file from the 52 MB xml- file. iTunes created a new library, leaving the old one as “iTunes Libary (damaged)” in the folder. iTunes opened with the new libarary, but now this bastard is analyzing the information for continous playback again, and this on 35425 Elements, which takes ages, although my i7 Core Mac has ethernet connection and wifi connection at the same time.
Maybe this is helpful to know for others.
Cheers,
Chris
...added by Chris /// November 17th, 2010 at 12:33 PM
I just tried this with ITunes 10 and it still works – great advice thanks!
...added by Murray /// November 18th, 2010 at 16:16 PM
iTunes 10, not working for me. It is not rebuilding the lib from the xml file, but replacing it with a new blank xml file? Did I miss something? A switch somwhere?
...added by Bud /// December 6th, 2010 at 17:15 PM
Thank you SO much. I was doing it the slow way by deleting and readding (and noticing it was removing files from all my carefully put together playlists). Luckily I only got as far as C artists before deciding there had to be a better way.
Now, to try to restore the A-B artists’ songs to my playlists from my yet-to-be-synched ipod…
...added by Madeleine /// December 14th, 2010 at 22:24 PM
Successfully did this last night with iTunes 10 going from Win 7 to OSX. Thanks!
...added by Karin Dalziel /// January 4th, 2011 at 17:22 PM
Thx for this guide! Came across it when I was looking for a solution on how to transfer the iTunes library from my old (XP) to my new PC (7). I also found a software that basically does the same thing automatically. Great for iTunes noobs like me
– may be useful for others as well … http://www.wikihow.com/Transfer-Itunes-Library-to-a-New-Computer
...added by Jules /// January 21st, 2011 at 12:56 PM
I had the same problem as JK. I selected all the files in my iTunes library and copied them manually onto my external hard drive. When I hit the Consolidate Library, it made a duplicate copy of every single file with a ” 1” at the end.
I had to develop a way to find all the duplicates and delete them. It was awful. Word to the wise: do not keep the “Copy files to iTunes Music folder when adding to library” box checked. At least if you’ve already manually copied the files.
iTunes still doesn’t recognize the files I manually copied. If I uncheck the “Copy files” box and then consolidate my library, will I avoid making the duplicates? Or do I also need to uncheck the “Keep iTunes Music folder organized” box?
Has anyone solved this problem? Any help is appreciated.
...added by Melissa /// January 31st, 2011 at 04:59 AM
Good tips!
I don’t suppose any way has yet come about that will maintain the Date Added info for each file?
I use iTunes to maintain my movie collection for my AppleTV. Needless to say, with lot of massive video files, keeping things on the internal hard drive isn’t an option. In fact, keeping things on merely ONE external drive isn’t an option, either. I went from one 750gb external drive to two, to one 750 + one 2gb, and now I have two 2gb drives. Plus, of course, my actual music, which IS stored on the computer’s internal hard drive.
The problem is the files resided on various differently-named drives over time. As we’ve seen, simply editing the XML file doesn’t work… the changes are wiped out as soon as you re-launch iTunes. No way a single dive has enough space to consolidate the entire collection, unless I borrow someone’s massive RAID array… and even then, how do I split things up later? So frustrating.
Some way to batch update the path for multiple files (in groups?) at once should really be built in… a way which maintains playlists, ratings, metadata, artwork, and even Date Added and similar tags. Overall, I love iTunes, but this has been one annoying issue.
...added by kman /// February 1st, 2011 at 10:22 AM
I just had the same experience as Mitza
after i moved my entire library to a new location and tried to play a song (whose link is missing), i was prompted to manually locate a new location of the song. then itunes asked me if i wished to let it to find new locations for other songs as well based on the path which i manually specified. then after i waited for a while untill it finished the “finding” process, the links of the most of the songs were correctly modified with a few exceptions (like songs whose file names are somewhat tricky). all the library data such as play count and date added are preserved! i think this is a great but untold feature of the current version of itunes.
Mac OSX 10.6, iTunes 10.1.2 (the latest version)
...added by tnkkrn /// February 11th, 2011 at 14:32 PM
I used this method a while ago to move my entire iTunes library to a media server, while retaining the artwork and other data intact. It worked great. At the time the .itl and .xml files were located in the server’s iTunes folder, and I had directed iTunes to look there in the Preferences section.
I recently tried to install iTunes 10.1 and at first it didn’t work, but once I copied my old .itl and .xml files to the PC’s iTunes folder to replace the ones iTunes 10.1 installed, and “corrupted” the .itl file, iTunes rebuilt its .itl file and now everything is working again. I guess with iTunes 10 you can’t have the .itl/.xml files located somewhere else, but since it now works, I don’t feel the need to try to figure out if that’s really true or not.
...added by mtnsports /// February 11th, 2011 at 21:31 PM
Hi, great guide, thanks.
I just tried it on iTunes 10 after upgrading to Windows 7 and backing up my music on an external drive. Part 2 seems to have worked just fine. However, for some reason part 1 has not worked. iTunes did not find my moved songs (the ones that were iTunes rips or podcasts). Any tips? Suggestions? Thanks!
...added by sol /// February 12th, 2011 at 13:27 PM
Hi, thanks, i did this once (remembering the 0-byte-ing of the .itl, and found this blog) and it worked very well. Now I had the same problem, when my HDD died, win7, iTunes 10.1.
Got everything to work.
I have my music in E:musicmp3
I have podcasts, ipod touch apps, etc. moved to E:iTunesPodcasts, ...
I use Notepad++, awesome free editor.
Part2 works fine, imported my music exactly as I wanted it (again Notepad++ recommended).
Just my Podcasts and Apps wouldnt show up. No Problem:
Select Podcasts;
Go to the File Menu and add Folder to”Mediathek” (german translation for your library);
All Podcasts will be imported and new ones download to the location you set in “Advanced”;
Do the same for ipod/iphone apps;
Done. Thanks for your reminder, couldn’t do it from memory alone
...added by bender /// February 13th, 2011 at 13:14 PM
Thank you for the kind words
...added by Konstantinos Christidis /// February 13th, 2011 at 14:32 PM
Dude what a life saver! Thanks for sharing it… worked like a charm.
...added by Doug /// February 19th, 2011 at 22:10 PM
My complete library sits at USB disks. I moved away from Apple’s automount to a Fuse SSHFS mount, and needed to rewrite the locators for these.
On Snow Leopard / iTunes 10, I took the method of copying/exporting the Library XML and then:
– rewrite the paths in the XML – clear complete library in iTunes, including playlists – import the edited XML using ‘File’ > ‘Library’ > ‘Import Playlist’.
This completed in ~40 minutes for ~3000 tracks. Now it needs to recalculate the gappless info but I can play my music again.
...added by Berend /// February 25th, 2011 at 18:06 PM
Hey you really saved my bacon here! Worked smoothly even though it may be a bit harsh for newbies. In that case, one can use a small utility tuneswift.
...added by Willy.d /// February 28th, 2011 at 12:54 PM
Woot! Thanks for the great blog. I was going to try to do this, rather than keeping my library on my work computer, and I made it work. I realized that the iTunes Library XML file had the information, but didn’t realize that the iTunes DB needed to be damaged in order for it to rebuild it. I clicked on import playlist, pointed to the updated ITL and voila! It rebuilt it, and even brought back all my playlists with only minor handholding (resubscribing to podcasts, telling iTunes to look for album artwork again, and unfortunately resyncing my iPod, which it now has to completely erase and start over again with).
The major hangup was the ITL file, since I have a lot of music, roughly 13,000 music/podcast/videos. And the ITL file was 22 megs, but for some reason, while Word was finding and replacing, it’s temp file grew to around 18GB. Why? I have no idea, just more evidence of Microsoft’s poor program design. But I got it to work and I’m happy to say that it’s resyncing my iPod now. So, in 2 or 3 short hours, I might end up with something resembling my old iPod. Yay!
...added by PJay /// February 28th, 2011 at 20:15 PM
Thanks alot for this HOWTO guide. Everything worked fine, apart from the fact that i now have to locate some of my songs.
This maybe because something went wrong, but i deffinately followed all of your steps.
Thanks again!
...added by Ryan /// March 8th, 2011 at 23:17 PM
Hello, I’m a Part One customer w/ itunes 10. I followed the directions and copied my 222gb to an external HD and held my breath when I restarted itunes. Everything’s there, but it’s still playing from the old E: internal drive instead of the new G: drive.
When I changed the path in itunes, should I have clicked “reset”?
I looked at a sampling of music files, and they all still have the old root path/address to the old hd.
Also, I had read within the comments to uncheck the “copy this itunes music folder” block. Should I have kept it clicked?
Any direction is appreciated.
...added by Rich /// March 18th, 2011 at 19:51 PM
Well, seems it worked for the most part just not sure what went wrong with as to why my Album Art Work is lost on all my songs??
Any tips/hints as to what I missed? I left the Music folder on my Mac local as is, changed iTunes pref on “Advanced”, edited the xml, zero’d out the iTunes Library file, moved my mp3 files to the new NAS, and then fired up iTunes. It did its long rebuild and all is great other than my Cover Art is all blank
...added by Jack /// March 26th, 2011 at 06:03 AM
Thanks for this info. It worked great for me. I also had to deal with the “iTunes library.xml” issue a few others have mentioned. Also, if your new folder location has spaces and ampersand (&) in it, make sure to include ”%20” for spaces and ”&” for the ampersands (both without the quotes) when you’re doing the find and replace part.
...added by Sam /// April 12th, 2011 at 11:27 AM
Looks like my post inserted the ampersand code. It’s ”&
amp;” (without the quotes and dashes), or I think you can use ”&-#38-;” (also without the quotes and dashes....added by Sam /// April 12th, 2011 at 11:30 AM
Awesome! Thanks so much for this tip saved me hours.
...added by danny /// April 23rd, 2011 at 06:32 AM
I just got it to work while preserving the dateadded data!
Here is what I did:
0. Backup the iTunes Folder in your music library! Just to be sure.
1. Use Windows 7/Vista to move the whole Music library: Go to your current Music DIRECTORY (NOT win7-library!) -> right-click->properties->path->move…
2. Start up iTunes once. It should not try to import stuff yet, but all music won’t be found cause itunes still thinks it is at the old location.
3. Do another backup!
4. Follow the steps in the guide above with the backups from step 3 until you have a working library with messed up dates.
5. The crucial part: overwrite the current “iTunes Library.itl” with the one backed up from Step 3(!) again.
I nearly gave up hope and just tried replacing the itl file… I almost cried when I started up iTunes again to see all my old settings and dates appearing! But I cannot guarantee that this will work in any case, so please do as many backups as you can!
...added by hennessy /// May 18th, 2011 at 22:50 PM
so will this work for itunes 10?
...added by hello /// May 21st, 2011 at 01:44 AM
I moved my songs and library (itl and xml) from a local XP PC to a NAS. Everything in iTunes is intact, e.g date added, playlists, etc. No editing of xml to change path of new location or deleting content of itl to make iTunes learn
iTunes 10.2.1.1
XP PC
Old path, D:MP3 (my songs are stored here)
New path, M:MP3
Part 1: Copy songs to new location
1) Copy folder D:MP3 to M:MP3
2) To make sure iTunes using new location, I rename old path to D:MP3a so iTunes can’t find it
3) Open iTunes and play a song. iTunes can’t find it and prompt you to locate the song. Locate this song in new path.
4) Then iTunes asks you “Would you like iTunes to use the location of “Song_name_you_play” to find other missing files in your library?” Click “Find Files”. It takes a while to update xml path.
5) You might see this “iTunes was able to find x of y missing files. Files that could not be found are marked with a ”!””
Library, C:Documents and SettingsUser_nameMy DocumentsMy MusiciTunes
Part 2: Copy library to new location
1) Back up iTunes library folder
2) Close iTunes
3) Copy whole My MusiciTunes folder to new location. Retain folder structure
4) To make sure iTunes using new library location, I rename old path to My MusiciTunesx so iTunes can’t find it
5) Windows: Shift + iTunes to open. iTunes can’t find library folder and prompts you to locate library
6) Locate new iTunes folder which has new path in xml from Part 1
That’s it
...added by Frogo /// May 21st, 2011 at 10:50 AM
GREAT directions! I moved everything without a hitch! I went from laptop to external HD. Then external HD to desktop. Nothing missing! THANKS!!
...added by Kathy W /// June 16th, 2011 at 05:43 AM
I managed to move everything over from my old MacBook Pro to my new MacBook Pro while preserving my Date Added data (as well as playlists, play count, everything, etc. – basically it’s an exact clone) and I have my serious dislike of change to thank for it.
I started off following the instructions, thought tweaking a bit while I went along. I moved my entire iTunes Music folder over onto my eternal hard drive, and then moved it over from there onto my new MacBook Pro, replacing the current iTunes Music folder completely (as there was nothing in it, it didn’t matter, of course).
At this point, I followed the instructions in this tutorial and copied the “iTunes Music Library.xml” from my old computer onto my new one, replacing the current file. I corrupted the “iTunes Library” file as instructed. I did NOT have to do any find and replace, I realized, because, as a creature of habit, I have the same username/login on my new computer as my old one – even if I did find and replace, it would end up exactly the same, as the file path on my new computer is exactly as that on my old. So I then opened up iTunes and let it do its thing.
As expected, everything was in the right Date Added order, but the dates were all today and I was still unsatisfied, because like some of the other commenters, timeframe is important to me when browsing my music library. I read through the comments and got an idea….. Since my username is the same, and the file path is the same, why couldn’t I simply copy the “iTunes Library” (not the .xml, the other one) over from my old computer to my new one? Shouldn’t everything then be exactly the same?
So I shut down iTunes, and did exactly that. I copied the “iTunes Library” file from the old computer to the new one, replacing the current file, and what do you know? – IT WORKED!!!! Everything is in perfect order, original Date Added dates, like an exact clone. So, it turns out that if you are moving from a Mac to a Mac and use the same username on your new machine as your old, you CAN transfer everything and maintain every single last bit of data.
I am amazed and SO HAPPY!!!!! Thank you to the OP and commenters for getting me to this conclusion. How cool is it that this tutorial is still relevant and super useful 5 years later?!
...added by B. Richard /// June 18th, 2011 at 05:55 AM
Schmolle for president
...added by Stan /// June 26th, 2011 at 13:18 PM
Thanks.
...added by Prog /// July 8th, 2011 at 13:54 PM
@Frogo Awesome directions, was able to consolidate two different folders on my d: that had my music to a single folder on my new RAID1 x:
Tried the directions at the top first and every time iTunes was launched it showed a blank library, it didn’t even prompt to rebuild the library using the new paths in the XML file with the corrupted ITL File, it simply rebuilt the library files in the C: location even though I pointed them to my X: before quitting iTunes and starting the move process. Had to use Frogo’s directions.
Version was 10.3.1.55 BTW
...added by Auricom /// July 10th, 2011 at 23:48 PM
@ B. Richard, that worked a treat. So easy! As long as your username, file paths etc. are the same on the old and new Macs, of course.
Thanks!
...added by PW /// July 13th, 2011 at 13:17 PM
Thank you!!! I can’t believe Apple cannot include a way to do this automatically—for such a great company, this is a stupid move on their part. Thanks again!
...added by DS /// July 16th, 2011 at 08:39 AM
Guys, there is a secret to force Itunes to ask you to refresh the library. You have to select a file which current location is not mapped among your drives (for example.. if your file used to be at G and now is at H drive, specially common for those who maintain files at a external HD) and then try to obtain info about the file. At this moment Itunes ask you to locate the file. You have to locate your file properly. After the second file adjusted, Itunes will ask you if you want Itunes to locate others files at the same location. It works.
Attention: the old location must not be available at all.
...added by Helder /// August 5th, 2011 at 01:04 AM
You have to try to play the song and then locate it as Itunes complains you need to locate it first.
...added by Helder /// August 5th, 2011 at 01:09 AM
Thanx a lot
Worked Perfectly
...added by Amit Aggarwal /// August 11th, 2011 at 18:50 PM
I really wish you had written that this will mess up the date added field. I just lost 4 years of data on a 130gb library because i did not notice this loss immediately and deleted the backups
...added by Jan /// August 13th, 2011 at 16:58 PM
Jan: I really wish you could read carefully. It’s right there on the post… part 2, step 8.
...added by Konstantinos Christidis /// August 13th, 2011 at 21:01 PM
Thanks man!
Your Howto saved me hours!
...added by Pierre /// August 25th, 2011 at 15:52 PM
When you import, you are adding tracks to the iTunes library, so it’s natural for the app to use the time of import as the date added. What you want to do is transfer the PC’s library over to the Mac.
If your music files are stored in the default location—the “iTunes Music” folder inside the “iTunes” folder in your user account’s Music folder—it’s silly easy to do. (If your music files are stored elsewhere it’s still easy; just needs an extra step or two. If that’s the case, post again with the location of your music files.)
1) Make a copy of the PC’s “iTunes Library.itl” file (located in the “iTunes” folder)
2) On the Mac, quit iTunes. Rename the Mac’s “iTunes Library” file to “XiTunes Library”; now copy in the PC’s “iTunes Library.itl” file.
3) That’s it—the Mac’s library is now the same as the PC’s. When you’re satisfied with the results, trash the “XiTune Library” file. (If you like, the Mac’s “iTunes Library.itl” can be renamed to “iTunes Library”.)
...added by Forbz /// August 27th, 2011 at 23:02 PM
Part 2 was exactly what I was looking for!
Recommending EditPad lite was really helpful!! (because notepad would freeze)
Thanks a lot !!!!
...added by Gary "gslim" /// September 11th, 2011 at 07:20 AM
This technique didn’t work for me (Itunes 10.x). Possibly because I was changing usernames as well as moving from one computer (WinXP) to another (W7).
I don’t use iTunes to manage my media files (all audio – a large CD collection, ripped to MP3). For whatever reason, iTunes wouln’t use the .xml file to rebuild the .itl database – it created a blank one (with no music in it) instead.
The fix (from Googling around more), and once I had all the MP3 places on a local drive on my new machine) was to edit the xml file so that each file location of the .MP3 files was correct. Each song entry has an element something like this:
Locationfile://localhost/D:/Music/5%20Man%20Electrical%20Band-%20I’m%20A%20Stranger%20Here.mp3
Once all the file locations are correct, you can then use:
File->LIbrary->Import Playlist
naming the xml file as the playlist.
iTunes will crunch away for a considerable length of time, but eventually, it’ll put your song list, including ratings and play numbers, into the music library.
I was just about to give up on being able to keep ratings and play numbers (after all, I could have imported all the MP3s from scratch) when I found this trick. YMMV.
...added by Derek /// September 20th, 2011 at 17:56 PM
I also couldn’t get iTunes to use the XML file by damaging or deleting the .itl file. It no longer seems to work.
But as has been said, it’s actually far easier (& better) to just move the files first, then try to play one and let iTunes find it – and then let it automatically find the rest (although that can take a while if you have a large library, and there’s no visual feedback it’s happening until it completes).
Another tip – if you store your iTunes folder (the one containing the ITL and XML files) in your Windows ‘My Music’ folder, and keep all your external files there too, then you can just move the entire folder and iTunes automatically finds the library. This is because it’s a ‘special’ folder, so if the location changes, programs automatically find it in the new location. It may still need to find the tracks again though (as above).
...added by gl /// September 22nd, 2011 at 12:24 PM
great, just great bru, awesome, it didn’t occurred to my, and I’m a developer, hehe, fucking great way to change your library without dealing the crappy itunes configuration !!
...added by Fernando Franco /// September 27th, 2011 at 19:10 PM
Dear Jesus that is some twisted shit getting that to work. THANK YOU for making this possible. Apple, go f*%# yaself!
...added by Matt /// October 29th, 2011 at 20:41 PM
I did this before I read this post and I just did a search and replace on the .xml without ‘damaging’ the .itl file. It seems that worked fine as well. Is it a new thing that the .itl does not have to be damaged anymore?
...added by hidden12 /// October 30th, 2011 at 22:55 PM
FWIW, it works as well under OSX 10.6.8 with iTunes 10 (10.5 build 141). As a text editor I recommend the free TextWrangler which deals fine with searching & replacing the paths and emptying that itl-File.
...added by Thorsten Hamann /// November 1st, 2011 at 15:26 PM
Ever since June 2011 with an iTunes update around there, it’s been harder to switch my itl file back and forth. I used to be able to go back between my laptop and my parents PC with ease, just by copying and pasting the itl file. Now that’s not the case.
I now have to click on the song, locate it, then “find files” for the rest, which can take forever when you have 35 GB of data, waiting for each album art to refresh.
Does anyone have a solution to this? Both my iTunes folder are named just iTunes, no different while my laptop, all the media files are located on the D drive while my parents’ PC, they’re all on the iTunes Media folder. Does this have to do with it? Before that update in June, this never was a problem so something obviously changed since!
...added by Josh /// November 23rd, 2011 at 12:34 PM
I used to use this method under Snow Leopard when moving a library to an external hard drive or new computer, however, I’ve found it’s no longer working under Lion/iTunes 10.5.
As already mentioned, there is a much easier way now. Simply copy the whole iTunes folder from one computer to another, (if your mp3s are located elsewhere, copy them over to their new location as well.). Make sure the old mp3 location is not available to the new iTunes install anymore (dismount external drive, network drive, etc.). Finally try to play one of your files. iTunes will not be able to play it but will ask you if you’d like to locate it. Navigate to the file. iTunes will then ask if you’d like to locate more files in that location, say yes and wait for a VERY LONG TIME as your whole database is updated to the new location. Easy and effective!
...added by Sean /// November 24th, 2011 at 06:24 AM
This was super helpful. Thanks for the tips! I was banging my head against the wall until I found this. Part 2 worked great for me on Windows 7, Itunes 10.
...added by Jeff /// December 11th, 2011 at 05:51 AM
I stumbled on this site while searching for a way to transfer my old itunes library to my new computer, while keeping the “date added” data. That’s all I wanted, just to keep the date. Neither the instructions above, nor any of the comments made it work for me, so thought I’d add my experience in case someone else comes here trying to do the same thing.
What did work was copying the entire music folder from the old comp to the new comp (with an external drive transfer cable), and then copying both the library.xml and the library Itunes library.itl files as well. It’s worth noting that I had the same platform, same itunes, same directory on both computers though.
...added by LT /// December 14th, 2011 at 17:55 PM
worked like a charm for me – thank you very much! tried once by just modifing the *.xml w/o any effect – im very happy now
iTunes 10.5.2, Windows7×64, iPod Touch 64GB
...added by phil /// December 17th, 2011 at 01:51 AM
Thank you for this post, this has saved me a significant amount of tedious work. I replaced my computer and literally copied the whole folder and edited it to the new directory. In the process changed to a SSD/HD setup, with my music on the secondary drive.
As a note; my ipod Touch recognized this as the original syncing library, which made this move much easier.
...added by Faeleena /// December 24th, 2011 at 06:42 AM
Thanks for an amazing tutorial. Simple, yet so effective. Really made my day! Thanks.
grtz,
Chevy (Holland)
...added by Chevy /// January 29th, 2012 at 22:27 PM
the site offers discount karen millen dress,karen millen uk,karen millen outlet,karen millen clothes,karen millen coats other styles on hot sale!
[url=http://www.karensmillen.co.uk]karen millen dress[/url]
...added by Orgadorma /// March 5th, 2012 at 12:29 PM
It is really not as much hard work as shown here. Has anyone tried this? Locate the file location for one of the files manually. iTunes then asks whether to use the same location to locate other files. Just click yes. Bam!
...added by Ayush /// March 12th, 2012 at 00:39 AM
My son has hundred of game apps downloaded in iTunes on my laptop. I use the same laptop to synch my iPhone. How can I stop all the games loading to my phone every time I synch??
...added by Gary /// March 28th, 2012 at 03:20 AM
Thank you very much
...added by Ribas /// April 28th, 2012 at 21:49 PM
Thank you! This was very helpful and solved my problem – after IT folks migrated my user to a new domain, some (but not all) of my itunes files referenced an old location. with your instructions I was able to easily fix the problem and get itunes pointed to all files.
...added by jessica /// June 10th, 2012 at 22:06 PM
btw, Ayush – I had already done what you suggested – showed iTunes how to locate one of the files. It worked for that file but did NOT ask me to use that location to find other files. It looked like I was going to have to do that manually for all of them and there were dozens, maybe a hundred or more, with a couple of different locations. my itunes version is 10.6.1.7.
...added by jessica /// June 10th, 2012 at 22:08 PM
Positively brilliant, many thanks for the tutorial.
Ayush, I concur with Jessica just above, couldn’t get to have iTunes to ask to use the same location for the remaining songs after I updated the location of the first one. (v. 10.5.2.11)
...added by Philippe /// July 29th, 2012 at 20:27 PM
Thanks a lot Konstantinos your a champion. This has frustrated me for weeks. I’ll be checking this website for more tips in future.
...added by Mick /// August 26th, 2012 at 04:19 AM
Worked like a charm on my Mac, and, yes, just zero-ing the *.itl file does the trick. Many thanks for your excellent walk-through! Saved me at least a couple of hours
...added by stick-test.de /// September 15th, 2012 at 06:02 AM
Konstantine you are my hero! Many thanks for your well written advice. Saved me from a lot of trouble.
...added by Tasos /// November 20th, 2012 at 18:26 PM
Thanks for the above. Unfortunately, iTunes have just issued version 11 – which is a bit differently organised for the library folders.
I’ve found that
1. Stuff I bought from iTunes shop hangs around automatically, and it’s no longer actually on your hard drive anymore, it goes to cloud, even if you used to have it showing in your hard drive in the past.
2. Stuff I rip myself into the itunes 11 BEFORE moving the library to the other drive – after you’ve moved the library needs to be selected, right click, then Consolidate Files to the new library happens automatically with the settings in the post above (now all in Preferences, Advanced tab).
3. Stuff I rip myself into itunes 11 AFTER moving the library to the other drive, goes to the right drive automatically.
What I’m now trying to work out is how to get the stuff that’s on my hard drive but not attached to my itunes (long story, several versions, badly llinked up, all my own fault due to bad rebuild after a virus a year or so ago, then deleting half earlier version of itunes and not sorting it out before the new version 11 arrived 2 days ago – sigh). If I work out how to do it, will post for that too.
...added by TootHillMedley /// November 30th, 2012 at 14:55 PM
Nope the best I could do –
In itunes 11 – go to top left corner and pick Add to Library. navigate to my old itunes library, pick up a single album/ set of tracks as individual tracks using Ctrl+A to import. Repeat for 169 albums (sheesh). Then within itunes ctrl+A to select all imported albums and right click to consolidate.
That palaver leaves everything in the new E drive library. There must be an easier way though!
...added by TootHillMedley /// November 30th, 2012 at 16:09 PM
I actually desired to show this specific posting, “HOWTO: Move your iTunes music
while preserving library data (when you dont let iTunes
manage your music library) — HiFi Blog” together with my pals on twitter.
Ijust sought to distribute ur great writing!
Thx, Concepcion
...added by http://tinyurl.com/ryanherny12250 /// January 10th, 2013 at 05:04 AM
Heya! I realize this is somewhat off-topic however I
needed to ask. Does building a well-established blog such as yours require a
massive amount work? I am completely new to writing a blog but I do write
in my journal everyday. I’d like to start a blog so I can easily share my experience and views online. Please let me know if you have any kind of recommendations or tips for brand new aspiring blog owners. Appreciate it!
Also visit my web site … related web site
...added by related web site /// February 9th, 2013 at 02:43 AM
Heya i am for the first time here. I came across this board and I find It really
useful & it helped me out a lot. I hope to give something back and aid others like you aided
me.
...added by augmenter vue youtube /// March 30th, 2013 at 09:39 AM
Gift Ideas for a makeup artist who has everything? ,[url=http://www.cheapmacosmetics.com/]mac cosmetics wholesale[/url] ,,[url=http://www.macosmeticsmac.com/]mac cosmetics wholesale[/url]
...added by gewagx /// April 10th, 2013 at 05:50 AM
Thank you for the good writeup. It actually used to be
a leisure account it. Look advanced to more added agreeable from you!
However, how could we keep in touch?
...added by ragdoll cats /// April 11th, 2013 at 22:12 PM
Magnificent goods from you, man. I’ve understand your stuff previous to and you are just too wonderful. I really like what you’ve acquired here, really like what you are
saying and the way in which you say it. You make it
enjoyable and you still take care of to keep it wise. I can not
wait to read much more from you. This is really a tremendous website.
...added by coverking car covers corvette /// April 27th, 2013 at 13:55 PM
Keep this going please, great job!
My webpage: http://www.nptcmj.com
...added by www.nptcmj.com /// April 28th, 2013 at 21:05 PM
That’s exactly where your choice of monitoring/analyzing software or web page comes in. It has some of the most important tools that allow a enterprise to improve its visibility on lookup engines. This is a effective and special method to enterprise promoting.
Look at my weblog: ...added by seo bangkok /// May 3rd, 2013 at 06:35 AM
Hence Dakota county Driving under the influence lawyer can an individual to get out within
just nick of time.
...added by nasza-technika.pl /// May 7th, 2013 at 08:06 AM
This helps you to draw your midterm and short
term your goals. Massage therapy has become and also convenient way to down load relaxation and relieve stress.
...added by style-domow /// May 9th, 2013 at 10:03 AM