delete duplicate aliases created by itunes when adding songs stored in my external hard drive
-
I have all my songs in my external hard drive, which is encoded in ntfs. When I add them to itunes, using File -> Add To Library ... it create an alias of each file in my /Users/<user_name>/Music/iTunes/iTunes Media/Music folder. So far so good, but sometimes it gets confused and create 2 aliases for one same file (meaning the same file on my external drive). It also happens when I want to rescan a folder I have already added to iTunes, it will create a duplicate alias for all the files that were already there in iTunes. So I end up with loads of duplicate aliases in my iTunes Music folder. It looks a bit like that: <whatever the song name>.mp3 <whatever the song name> 1.mp3 So the second file is a duplicate. What I want to do is: Delete the aliases from the finder Delete the duplicates in itunes As I have a lot of music, it would take a long time to delete everything manually. As I happen to be a software developer, I have written a script that deletes the duplicate alias files (in finder). But then I end up with an iTunes library full of duplicates, that points to nothing since the alias as been deleted. Is there a way to delete from the iTunes library all the files that can not be found ?
-
Answer:
Try http://dougscripts.com/apps/dupinapp.php or http://itunes.apple.com/us/app/dupin-lite/id425268142?mt=12. Dupin is $15 from the developer's site, and Dupin Lite is $8 from the Mac App Store. I recently purchased the full version and used it to delete duplicates from a 57,000 song library. It did a very good job. It's filtering mechanism is highly customizable. It is not super fast, but it ran through my library in less than a day. To specifically deal with your issue, you can set the rules to keep the file with the shorter filename. This will get rid of the commonly found "whatever the song name 1.mp3" file, while keeping the "whatever the song name.mp3" version. Also, dougscripts.com should be your first stop for any iTunes maintenance scripts. I have found the following scripts especially useful in cleaning up large iTunes Libraries: http://dougscripts.com/itunes/scripts/ss.php?sp=artistnamecorrector http://dougscripts.com/itunes/scripts/ss.php?sp=removedeadsuper http://dougscripts.com/itunes/scripts/ss.php?sp=searchreplacetagtext http://dougscripts.com/itunes/scripts/ss.php?sp=trackparser http://dougscripts.com/itunes/scripts/ss.php?sp=removenchars
jules at Ask Different Visit the source
Other answers
I'm in the middle of this painful task myself. If you have a Windows OS, you may find the following tools in Command Prompt useful after you open command prompt and change directories to your music directory: dir /s /b "* 1.mp3" > found.txt which searches all subdirectories (/s) and in a very basic format (/b) lists every single file that ends with " 1.mp3" and exports it (>) to a new text file called found.txt. It's very important that before you delete anything vital that you comb through this list to temporarily transport false positives such as "02 My favorite long chapter - part 1.mp3" to a separate directory BEFORE you start attacking every file that ends with " 1.mp3". erase /s "* 1.mp3" after completing the previous step, cross your fingers and hope that you have safely transported all false positives to a safe directory, then press enter and watch the command prompt permanently delete every offending file.
davidtheterp
Related Q & A:
- How do I hook up an external hard drive to a DVR?Best solution by Yahoo! Answers
- How do I back up all of my iTunes playlists on to an external hard drive?Best solution by Ask Different
- Can I use my portable external hard drive to run Itunes?Best solution by ipod.about.com
- What host can i hook a usb external hard drive to?Best solution by Yahoo! Answers
- How do I copy my itunes library to an external hard drive?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.