Duplicate File Finder
Scans directories for duplicate files by comparing content hashes. Supports MD5, SHA1, and SHA256 algorithms.
Installation
# Optional: install tqdm for a progress bar
pip install tqdmUsage
# Find duplicates in current directory
python duplicate-file-finder.py .
# Find duplicates in multiple directories
python duplicate-file-finder.py /path/to/dir1 /path/to/dir2
# Use SHA256 instead of MD5
python duplicate-file-finder.py . --algorithm sha256
# Save results to file
python duplicate-file-finder.py . --output duplicates.txt
# Disable progress bar
python duplicate-file-finder.py . --no-progressOutput
Displays each set of duplicate files with:
- File hash
- File size
- Number of copies
- Full paths of all duplicates
- Total wasted space summary
Results can optionally be saved to a text report file with --output.
Last updated on