Rebuild itunes library after crash

itunes

I had a hard drive crash and lost the system files, but recovered all my iTunes folders and files e.g. Books, Downloads, iTunes U, Mobile Applications, etc. The iTunes library file "iTunes Library.itl" went down with the crash. What's the best way to rebuild my iTunes library now that I have a new HDD?

Best Answer

You have two options:

  1. restore the library from a backup copy (previous libraries folder in the iTunes folder, Time Machine, other backups)
  2. re-import the songs by dragging the media into the library section and allowing it to add the tracks back to the library - optionally you can import any playlists or library xml documents that saved the playlists, ratings and data relating to the tracks and not embedded into the media files on the drive

If you have enabled iTunes Match, you will also be safe from most data loss since all playlists are stored in the cloud unless it contains exclusively tracks that were not matched to the cloud like podcasts and other oddities like voice memos and low bit-rate recordings.