How to efficiently delete duplicate files

Discussion in 'Mac Programming' started by piatti, Jun 19, 2010.

  1. piatti macrumors 6502a

    piatti

    Joined:
    Jun 9, 2010
    Location:
    USA
    #1
    I have a bunch of .m4a files that I recorded on my iPhone voicememo, but there are more than 20 copies for the same one for some reason. How can I delete every thing except one copy, without having to tediously delete them manually by clicking on 2nd one, SHIFT, clicking on the last one?
     
  2. sammich macrumors 601

    sammich

    Joined:
    Sep 26, 2006
    Location:
    Sarcasmville.
    #2
    Depends on how many you have?

    You could search in the voice memo folder for all audio files or just '*.m4a'. Then delete the ones that have the number in the brackets (like "Date Time (#).m4a"). I'd check them before deleting them.

    Alternatively, you could just drag out the ones you want to keep to the desktop and then delete the whole folder with the dupes.
     
  3. piatti thread starter macrumors 6502a

    piatti

    Joined:
    Jun 9, 2010
    Location:
    USA
    #3
    Unfortunately I don't know how to program. The second idea seems nice but there's just way too much. Which programming language should I learn?
     
  4. daze macrumors 6502

    daze

    Joined:
    Mar 11, 2006
    Location:
    San Jose, California
    #4
    Without going into specifics, try fdupes. You may need to install MacPorts.
     

Share This Page