duplicate-files
duplicate-files copied to clipboard
Find and remove duplicate files in a directory tree
About Duplicate Files.
This script will scan a directory tree looking for duplicate files, it uses a two stage approach of comparing file sizes and then hashes of file contents to find duplicates.
Running Duplicate files.
An example of running this script to just list all the duplicate files would be:
python DuplicateFiles.py -root /Users/Daniel/Documents
An example of running this script to list and delete all the duplicate files would be:
python DuplicateFiles.py -root /Users/Daniel/Documents -remove