Skip to main content

A file indexer based on content hashes

Project description

Hashdex

https://img.shields.io/pypi/v/hashdex.svg https://img.shields.io/travis/jeff-99/hashdex.svg 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

Features

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

Credits

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

History

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
hashdex-0.6.0-py2.py3-none-any.whl (8.5 kB) Copy SHA256 hash SHA256 Wheel py2.py3
hashdex-0.6.0.tar.gz (19.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page