1

I recently rented a MacBook Pro because I needed to take mine in for a hardware recall. Before giving mine up, I transferred the folder ~/Music/iTunes and the file ~/Library/Preferences/com.apple.iTunes.plist to the loaner laptop in order to have my music available. (I also made two separate Time Machine backups right before taking it in, and had an online backup service for extra peace of mind.)

As it turned out, only a fraction of my library was available in iTunes, some of the oldest files in my collection plus my purchases. (Also, when I made my first iPhone backup on this laptop, that large portion of the library disappeared from Music as well.)

My best guess is that, as an inexperienced user sometime in the past, I had turned off "Copy files to iTunes Media folder when adding to library" in iTunes Preferences. (I can't know for sure because I don't have my original Mac, but only those older files are in Music/iTunes/iTunes Media.) So as I added new tracks collected over time, they were added to iTunes but somehow not into that media folder.

I had deleted those source files over time, however, and they remained viable in the iTunes library. So now I am looking for where exactly they were located, so I can try to restore them from backup.

1 Answer 1

1

The iTunes Library .xml file located at ~/Music/iTunes/iTunes Library.xml contains location information for your media files. I just checked and I can pull up locations (or last known locations) of all my tunes from there, even if the files themselves have been moved.

2
  • Thank you; but while the Mac I'm currently using has that .xml file, the backup of my Mac does not. It only has iTunes Library.itl, which is binary and unreadable. According to support.apple.com/en-il/HT201610, "By default, iTunes 12.2 and later doesn't create an iTunes Library.xml." It can be manually enabled, but apparently that's another option that I failed to select. Commented Jan 25, 2016 at 9:41
  • Whoah... oh, dear. ok.
    – evan
    Commented Jan 25, 2016 at 21:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .