in reply to compare images

This detects identical files in the current directory and lists the name of one of them for deletion.

Of course, it won't detect the same image in two different formats (.jpg -v- .png), or the same format at different levels of compression, or 8-bit -v- 24-bit color etc.

wrapped for posting...quoted for win32

perl -MDigest::MD5=md5 -000le" print for grep{ ++$h{ md5( do{ local @ARGV = $_;<> } ) } > 1 } + map{ glob} @ARGV" *

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.