FII is a command line tool to find all identical images (i.e. exact duplicate images that have same image dimension and same pixel values) in a folder. It can also find images that are common in two folders.