Skip to main content

A file indexer based on content hashes

Project description

Hashdex Documentation Status Updates

A file indexer based on content hashes to quickly find duplicate files on your system. I created this tool because I always forget which pictures from my phone I already uploaded to my Dropbox account. Now I can just upload all pictures to an uploads directory check these files against the index and only organize the remaining files.

As easy as..

pip install hashdex
hashdex add /path/to/my-main-pictures-directory
hashdex check --rm /path/to/my-uploads-directory


  • create an index of your files
  • find duplicate files on your filesystem
  • check if files in a directory are already indexed


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.


0.6.1 (2020-11-18)

  • Updated development dependencies
  • Added python 3.8 support
  • Dropped python 2.7, 3.4 support
  • Added Dockerfile

0.6.0 (2017-10-28)

  • Added version option to main command
  • Added option to move files while checking for duplicates
  • Updated pytest-runner to 3.0.0
  • Updated cryptography to 2.1.2
  • Updated sphinx to 1.6.5
  • Updated flake8 to 3.5.0
  • Updated tox to 2.9.1
  • Updated pytest to 3.2.3

0.5.0 (2017-09-28)

  • added support for adding and checking files instead of directories
  • moved default index file to users home directory
  • Updated dependencies

0.4.1 (2017-09-24)

  • adjusted for python 2.7 math.floor returning a float

0.4.0 (2017-09-24)

  • renamed the index command to ‘add’
  • refactored –dir option for add/check command to cli argument
  • added cleanup command
  • added docs
  • updated dependencies

0.3.0 (2017-09-12)

  • Added –rm flag to check cli command (without the flag the command will not delete files)
  • Dropped python 2.6 & 3.3 support
  • Updated dependencies

0.2.0 (2017-09-08)

  • Refactored Indexer class
  • Added Hasher class
  • Added tests 100% code coverage
  • Updated dependencies

0.1.1 (2017-09-05)

  • Updated dependencies
  • Fixed file listing bug

0.1.0 (2017-09-04)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hashdex, version 0.7.0
Filename, size File type Python version Upload date Hashes
Filename, size hashdex-0.7.0.tar.gz (22.1 kB) File type Source Python version None Upload date Hashes View
Filename, size hashdex-0.7.0-py2.py3-none-any.whl (7.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page