Here is a simple file deduplication tool written in Python. This script scans a directory (and optionally subdirectories), calculates hashes for files, and deletes duplicates, keeping only one copy.
Features:
-
Uses SHA-256 for hashing.
-
Handles large files with efficient block reading.
-
Optional recursive search.
-
Safe deletion with confirmation.
Usage:
-
-rto include subdirectories. -
-dto delete duplicates.
Let me know if you need a GUI version or integration with specific file systems or cloud storage.
Share this Page your favorite way: Click any app below to share.