Categories
Uncategorized

Duplicate files, different names – Python

The Problem We have a bunch of files, and some of them have the exact same contents but different names. Here’s what we do. We open the files, read the contents and get the md5. We then compare it and put it all in a dictionary. Example we have three files file1.txt, file2.txt and file3.txt, […]