Apple iTunes Music Library Cleanup

Martin Brinkmann
Mar 5, 2009
Updated • May 28, 2017
Music, Software

If you are a heavy Apple iTunes user your iTunes music library might contain music that is not longer on the computer system, or duplicate music.

Teridon's iTunes Scripts are a collection of scripts for Apple iTunes that can perform various tasks like scanning the iTunes music library for duplicate music, or removing music that is no longer on the computer system. The script collection is completely portable and can be executed right after downloading and unpacking.

Note: The script collection is no longer available. We suggest you check out this script collection instead for iTunes.

A total of 19 different scripts are available that can be executed from the interface. The scripts usually spawn a dos window that will execute the selected script. A selection of the script itunes_not_found will for example scan the iTunes music library for music that is no longer available on the local hard drive.

Other cleanup scripts include the search for duplicate music on iTunes. Some scripts require user input like removing songs based on a playlist or location. The scripts of the collection lists the available options and waits for keyboard input to continue execution.

Teridon's iTunes Scripts provide a great way of cleaning up the music collection in Apple iTunes. The script collection does contain several additional scripts that might be worth a try. One interesting script is for example the one that will create a playlist containing all songs of a connected iPod.

The scripts are also available as Perl scripts for users who do not like to download the executables. They have been tested both with iTunes 6 and 7 but most should work fine if iTunes 8 is installed on the computer system as well.


If you want local control over your iTunes library, you may find the scripts useful as it runs maintenance related tasks like finding dupes that you may benefit from.

Update: The iTunes script has not been updated since 2009, and it appears that the vast majority of them are no longer working with the latest versions of iTunes. It is therefore not recommended to use them anymore. We are keeping the link to the homepage up in case you want to give it a try anyway.

software image
Author Rating
no rating based on 0 votes
Software Name
Teridon's iTunes Scripts
Operating System
Software Category

Tutorials & Tips

Previous Post: «
Next Post: «


  1. mark said on March 6, 2009 at 3:47 am

    This is why I bought a Zune.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.