Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What tools might be available in Ubuntu to scan many image files and detect similar ones despite different sizes, formats, etc?

Support for batch mode/cli would be especially good. For example, so I could write a script to favor the higher resolution/color depth versions and delete others.

share|improve this question
up vote 3 down vote accepted

Graphically Digikam can do that.

enter image description here

For the command line you can use Findimagedupes.

The simple command is findimagedupes ~/Pictures.

share|improve this answer
Thanks. My search in the repos also found me findimagedupes and puzzle-diff. Like Digikam, Google's Picasa also has a gui tool for spotting repeated images, and it can be persuaded to run under Linux (via wine or natively maybe?) – Marcos Apr 17 '12 at 22:48
Picasa runs (barely) under wine. – desgua Apr 18 '12 at 22:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.