This script removes duplicate files in the directory where the script runs.
- No external libraries are used
- os
- hashlib
Execute python3 duplicatefileremover.py
The script first lists all the files in the directory. It takes MD5 hash of each file, when hash of 2 files become same it deletes the file.