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
Release history Release notifications | RSS feed
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.1.0.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file fiddup-1.1.0.tar.gz
.
File metadata
- Download URL: fiddup-1.1.0.tar.gz
- Upload date:
- Size: 2.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2437894eeb6311147dd41c5609049343280f0e7f4f467b7993e11a70f3da3b1c |
|
MD5 | 7464f5c7e22acb7f035cd6b13de57cb5 |
|
BLAKE2b-256 | 93109281a731f1daaa32d50f14b90c0f0c3f5e0d5027af681009b4210c8cac57 |
File details
Details for the file fiddup-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: fiddup-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc10c8c0e7ea1e6a74ea13f29cd0b52e8554d6ec7d94b5bfa360912fa59cfc34 |
|
MD5 | 109d516dfb415cb28ecab336fc8cb386 |
|
BLAKE2b-256 | b3336c73dbfde86ec2bfad4d618235d2d5a466400a55f5fa4ee07933a7046368 |