资 源 简 介
This project came about because I was unimpressed by the absolute horribleness of iPhoto duplicate photo searching options. The only thing I could find was a 10$ app called Duplicate Annihilator which is extremely slow and has no caching mechanism. So I checked into it and realized the iPhoto uses a simple SQLite3 DB. I wrote my own PHP script to do what I wanted faster and better than the paid-for apps. I hope this helps you too.
This is a simple PHP script that will interface directly with the iPhoto "09 SQLite3 database and search for duplicate picture titles (titles equal filenames by default…) and/or create an MD5 of each file, cached into a separate DB for both necessity and efficiency purposes and search for duplicate MD5s.
Once a set of photos has been found to be duplicates, this script will set a comment on the photos as "duplicateXXXX".
XXXX= the primary key of the most recently found duplicate image of that set.
Once complete, you can th