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.
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users