Search Duplicates (searchdups)
This is a simple application that searches for duplicate files in a set of folders. To check whether the files are identical or not, it makes use of md5 or sha256 algorithms, but the application calculates a smart hash to enhance performance: the idea is to calculate a partial hash and finalize the calculation only if needed.
Additionally, this application includes a pseudo hash that consists of checking whether the name of the files is the same. If using this "hash algorithm", if the name of two files is the same, they are considered to be the same even if the content is not the same.
The basic usage is
$ searchdups -r .
> 8f8db820d89c39029a0629094e0f18c9*
/Users/calfonso/Programacion/norepo/searchdups/a1.jpg
/Users/calfonso/Programacion/norepo/searchdups/a11.jpg
Some other features are:
- Select the hash algorithm (using parameter
-H). - Searching in subfolders (using flag
-r). - Considering hidden folders and files (using flag
-a). - Show a progress bar during the process (using flag
-p). - Selecting which files are processed (using
-fparameter for sh-like filters, or-eparameter for regular expressions). - Exclude the files to process (using
-Fparameter for sh-like filters, or-Eparameter for regular expressions). - Summarize the amount of files and folders considered (using flag
-s). - Get the result in a file (using parameter
-o).
Please check the CLI help to get updated information about the usage of this tool.
Installation
To install the tool you can clone the code and execute the next command inside the cloned folder
$ pip install .
or install it from the repositories:
$ pip install searchdups
Metadata
Release files for searchdups 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| searchdups-1.0.0.tar.gz | 9.1 kB | Without provenance | Details for searchdups-1.0.0.tar.gz |
Release files / searchdups-1.0.0.tar.gz
| Download URL | searchdups-1.0.0.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
927f08cd832f801ff3e3f3b1f4f34f6639b4217f53127287c1a2ac41b224d1d5
|
|
BLAKE2b-256 checksum How to use checksums |
911576c875a49a7c0ae21fce16b3f2d7b5f8e40ae5916cb80322ca175ac4c3a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.61.1 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.16
|
Security for searchdups 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.