There are plenty of programs that will scan for duplicate files. You can find one that would work with a Mac and plug your SD card into your computer. From there select the SD card through the program and allow it to run. It should find and take care of any duplicate files.