Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Deleting duplicates from iTunes

  • 30-07-2009 10:18pm
    #1
    Registered Users, Registered Users 2 Posts: 1,086 ✭✭✭


    I have a large music folder for my iTunes music.

    Somehow when I was adding songs to the folder, instead of duplicates just erasing each other they just were copied along side and had an increment number added to its name.

    Such as

    "iTunes Music\Dave Matthews Band\Live At Red Rocks\01 Proudest Monkey.MP3"
    and
    "iTunes Music\Dave Matthews Band\Live At Red Rocks\01 Proudest Monkey 1.MP3"

    If a third was added it became
    "iTunes Music\Dave Matthews Band\Live At Red Rocks\01 Proudest Monkey 2.MP3"

    I need to create a bit of code in some programming language which will loop through all folders and sub folders and erase all duplicated music.

    It will have to check the name and see if there is another file existing in the same folder with the name + " 1" or name + " 2".

    If these duplicates exist it must delete them.

    I would manually delete them but there is 15 days of duplicated music, a bit much to do manually.

    Any help?


Comments

  • Closed Accounts Posts: 1,827 ✭✭✭Donny5


    What platform? Windows?


  • Closed Accounts Posts: 34 jackofnotrades


    There are lots of programs out there to help you do this so give it a google. I don't use windows (which I'm assuming you use) so I don't know whats the best program for that.

    It would be a good idea to back all your music up first in case you delete something by accident. When ever I do anything like this, I clear my iTunes library(not deleting the files) then make all the changes I need to the mp3s and then add them back into iTunes.

    I hate iTunes but I was gifted an iPod so I'm sort of stuck with it. Check out http://www.mediamonkey.com/ too.

    Maybe this can help http://download.cnet.com/Easy-Duplicate-Finder/3000-2248_4-10692636.html?tag=mncol


  • Registered Users, Registered Users 2 Posts: 1,086 ✭✭✭Peter B


    Donny5 wrote: »
    What platform? Windows?

    Yup, Windows XP


  • Registered Users, Registered Users 2 Posts: 1,086 ✭✭✭Peter B


    There are lots of programs out there to help you do this so give it a google. I don't use windows (which I'm assuming you use) so I don't know whats the best program for that.

    It would be a good idea to back all your music up first in case you delete something by accident. When ever I do anything like this, I clear my iTunes library(not deleting the files) then make all the changes I need to the mp3s and then add them back into iTunes.

    I hate iTunes but I was gifted an iPod so I'm sort of stuck with it. Check out http://www.mediamonkey.com/ too.

    Maybe this can help http://download.cnet.com/Easy-Duplicate-Finder/3000-2248_4-10692636.html?tag=mncol

    I know I could download some software, its just I thought I would try this option using a recursive program method as I know only the duplicates I want to delete are the ones with the incremented number after them.

    It should be a fast solution which may be of interest to people on this programming board.

    If anyone could help start me with the programming language I should hopefully go on from there.


  • Registered Users, Registered Users 2 Posts: 6,790 ✭✭✭cornbb


    Doug's Applescripts is a great source of iTunes scripts for Mac. They offer a limited few solutions for Windows: http://dougscripts.com/itunes/itinfo/windowshelp.php Even if you don't find the one you are looking for here, you can try downloading one of the applescripts and take a look at it, it might help you to rewrite the same thing in your preferred scripting language for Windows. Applescript is a bit weird but its easy enough.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 4,276 ✭✭✭damnyanks


    Have you tried using the built in ITunes function? I used to get this problem all teh time.


  • Registered Users, Registered Users 2 Posts: 7,468 ✭✭✭Evil Phil


    Moved from progamming.


Advertisement