Skip to main content

filedups


Given a sequence of paths (full directory paths), finds and groups duplicate files recursively.
Doesn't provide 100% accuracy. Reported files in a group might not be exactly the same.

Example Scan on Windows

How to use filedups on Windows

HOW TO USE

Go to src/filedups in terminal.
Put full paths of directories you want to search in in-dirs.txt file on separate lines.
Options (M, X are the number of bytes) (default value for M is 1024000 (1000 KB), default value for X is None):
--min-file-size M
--max-file-size X


Then run main.py:
For Linux:
python3 main.py in-dirs.txt


1000 KB minimum file size:
python3 main.py in-dirs.txt --min-file-size 1024000


200 KB minimum, 2000 KB maximum file size:
python3 main.py in-dirs.txt --min-file-size 204800 --max-file-size 2048000


For Windows:
py main.py in-dirs.txt


Results will be in a text file of current working directory of command line
, which starts with filedups and contains timestamp of the scan.

Notes

It takes at least 3 minutes to filter 284000 files to 40300 files and then find duplicates.
It takes at least 19 minutes to filter 286000 files to 140000 files and then find duplicates.

Release files for filedups 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for filedups 1.0.0
File Size Uploaded
filedups-1.0.0.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for filedups 1.0.0
File Interpreter ABI Platform
filedups-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.7 kB

Release files / filedups-1.0.0.tar.gz

Download URL filedups-1.0.0.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
aa42734ca42f7b244e0f8ad5a40e9e5fc05d9f5dd1a9631f3d8661b5eafdcb4a
BLAKE2b-256 checksum
How to use checksums
3dfff8e8ed9b050485d34721abb0a42a1d7d60dcfd3cd2e697f48507cf91a918
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / filedups-1.0.0-py3-none-any.whl

Download URL filedups-1.0.0-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06da6b565284d4340a56ab40909fc3b06faef7a020639858ed8ada8295d52f3e
BLAKE2b-256 checksum
How to use checksums
92eba613d240101679ac312bfd4ea0fe89f9f338f4ae2afe22227eb695e36669
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page