Skip to main content

Find files with similar names.

Project description

Fiddup

File DeDuplicator

Small tool to quickly scan a directory for files of similar names. Useful to scan through archives of books, documents, downloads, movies, music, ...

Outputs the original filename, the compared filename, and similarity. Only outputs above a specified similarity are stored.

Depends

Install through pip3 install -r requirements.txt

Or install individually:

  • pip3 install click
  • pip3 install colorama

Usage

Usage: main.py [OPTIONS]

Options:
  -i, --inpath TEXT      [required]
  -a, --analyze BOOLEAN
  -t, --threshold FLOAT
  -e, --extensions TEXT  [required]
  -v, --verbose
  --help                 Show this message and exit.

Example output

(venv) C:\Users\Cedric\PycharmProjects\fiddup>python main.py --inpath C:\Temp\ -e txt -e pdf -v
[Info] Starting with analyze: True
[Info] Starting with match threshold: 0.7
[Info] Scanning for extensions: txt, pdf
[Results]
Original                                Compared to                             Match          
C:\Temp\Movie-1-About-Fish.txt          C:\Temp\Movie-2-Fish.txt                          85.19
C:\Temp\Movie-1-About-Fish.txt          C:\Temp\Ebook-1-About-Fish.pdf                    76.67
C:\Temp\Movie-1-About-Fish.txt          C:\Temp\Ebook-2-About-Fish.pdf                    73.33
C:\Temp\Movie-1-About-Fish.txt          C:\Temp\Ebook-3-About-Fish.pdf                    73.33
C:\Temp\Movie-2-Fish.txt                C:\Temp\Movie-1-About-Fish.txt                    85.19
C:\Temp\Ebook about fish.pdf            C:\Temp\Ebook-1-About-Fish.pdf                    82.76
C:\Temp\Ebook about fish.pdf            C:\Temp\Ebook-2-About-Fish.pdf                    82.76
C:\Temp\Ebook about fish.pdf            C:\Temp\Ebook-3-About-Fish.pdf                    82.76
C:\Temp\Ebook-1-About-Fish.pdf          C:\Temp\Movie-1-About-Fish.txt                    76.67
C:\Temp\Ebook-1-About-Fish.pdf          C:\Temp\Ebook about fish.pdf                      82.76
C:\Temp\Ebook-1-About-Fish.pdf          C:\Temp\Ebook-2-About-Fish.pdf                    96.67
C:\Temp\Ebook-1-About-Fish.pdf          C:\Temp\Ebook-3-About-Fish.pdf                    96.67
C:\Temp\Ebook-2-About-Fish.pdf          C:\Temp\Movie-1-About-Fish.txt                    73.33
C:\Temp\Ebook-2-About-Fish.pdf          C:\Temp\Ebook about fish.pdf                      82.76
C:\Temp\Ebook-2-About-Fish.pdf          C:\Temp\Ebook-1-About-Fish.pdf                    96.67
C:\Temp\Ebook-2-About-Fish.pdf          C:\Temp\Ebook-3-About-Fish.pdf                    96.67
C:\Temp\Ebook-3-About-Fish.pdf          C:\Temp\Movie-1-About-Fish.txt                    73.33
C:\Temp\Ebook-3-About-Fish.pdf          C:\Temp\Ebook about fish.pdf                      82.76
C:\Temp\Ebook-3-About-Fish.pdf          C:\Temp\Ebook-1-About-Fish.pdf                    96.67
C:\Temp\Ebook-3-About-Fish.pdf          C:\Temp\Ebook-2-About-Fish.pdf                    96.67

Project details


Download files

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

Source Distribution

fiddup-1.0.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

fiddup-1.0.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file fiddup-1.0.0.tar.gz.

File metadata

  • Download URL: fiddup-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1

File hashes

Hashes for fiddup-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a2a78df6c0dd9156fb0c2d3343b946fc685579d6850027c71adc509cd53ea1f0
MD5 f819416610125c38978cf52c05ba4b58
BLAKE2b-256 05632a1e27656c12cd5a7e290de8677b05452f8f6d60babf6bee65d079532218

See more details on using hashes here.

File details

Details for the file fiddup-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: fiddup-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1

File hashes

Hashes for fiddup-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 adf1303f30ad533660bd40e4eafda012f08358ca131075d41c69bc757572c16c
MD5 a5972779cba83d94b4785fe365dd5872
BLAKE2b-256 82403ffcf59ab3afa85661d5b2d9e03699971528a4b99960efa235cf454dd8f9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page