From Dev.to
Find duplicate images by SHA-256 in Node: 589,696 bytes saved
Hash every file with SHA-256 and group by digest. Files in one group are byte-for-byte copies, whatever their names. On a real folder of 1,587 images (85,943,049 bytes) we found 2 duplicate groups and...
