Find and remove duplicate files in a directory tree
Python
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead, 7 commits behind thorsummoner:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DuplicateFiles.py
DuplicatesDeletion.py
FindDuplicates.py
readme.txt

readme.txt

This script will scan a directory tree looking for duplicate files, it uses a two stage approach of comparing file sizes and then hashs of file contents to find duplicates.

An example of running this script to just list all the duplicate files would be:
    python DuplicateFiles.py /Users/Daniel/Documents
    
An example of running this script to list and delete all the duplicate files would be:
        python DuplicateFiles.py /Users/Daniel/Documents -remove