I have lots of photos from the web I’d like to add GPS exif data to, but I rely on removing duplicates by using comparison tools like cmp
, md5sum
andduff
.
If I edit the exif data, then no tools I know of will recognize duplicate images. I’m looking for a tool (or reliable 1-line pipeline command) that can either:
- (preferred) generate a digest that is only based on the body and not any metadata
- report 2 images as identical pixel-for-pixel
Does such a tool exist? (Or is there any article that elaborates on why it is a problem not worth solving?)
Further info
The reason I prefer a digest over a black-box duplicate checker is that I like to create flat .txt
files as a database of other interesting information about pictures (e.g. ranking images).