Song files in iTunes pointing to the wrong location.
July 19, 2007 7:29 AM Subscribe
How can I fix 6.000 tracks in iTunes, which have a wrong file path, without losing play counts and ratings?
I just re-installed OSX on my Mac. After I did that some of the files on my external drive iTunes library are pointing to the wrong location.
Both the music files and the iTunes library are located on an external drive called "Musica". However, around half of the files seem to have the wrong path set in iTunes and therefore iTunes can't find them.
They are pointing at "Musica/FOLDER/Radiohead/OK Computer" - instead of the right one, which should be "Musica/Radiohead/OK Computer"
Now, this is easy to fix by just changing things around in the XML file. However, if I do that and re-import the XML, I will lose 4 years worth of play counts and ratings. And that's something I simply am not willing to do. The only one other way I know to do this is to point at each and every file and find the right location for each file. However, since I probably have more than 6.000 files pointing at the wrong location (I have around 8.000 pointing at the right one) that would take me days to complete.
So, are there any other ways to do this?
posted by einarorn to computers & internet (12 answers total) 4 users marked this as a favorite
Alternatively, from a terminal,
$ sudo ln -s Musica/FOLDER Musica (or the reverse)
posted by cmiller at 7:57 AM on July 19, 2007