[magick-users] Find Duplicates
Illtud Daniel
illtud.daniel at llgc.org.uk
Fri Jan 19 06:24:15 CST 2007
OOzy Pal wrote:
> I have a directory that has 7000+ images. There are almost 2000+
> duplicates. How can I used command line to find duplicate images?
Are the files binary identical - ie not just different formats of
the same image, but identical files?
You can test this by running 'diff -q file1 file2' on two known
duplicate images.
If they're identical files, you can do:
md5sum * | sort | awk {'print $2 " " $1'} | uniq -Df 1
And that'll list identical files for you. No ImageMagick required.
More information about the Magick-users
mailing list