hash_rename
A quick Python tool to rename files in a folder to be prefixed with a hash of the file's contents.
Usage
pip install hash_rename
hash_rename --help
hash_rename '<path_to_file>'
# or, if you have issues with PATH:
python3 -m hash_rename '<path_to_file>'
Example
Say you have a folder with the following files:
file1.txt
file2.txt
file3.txt
Running the tool renames the files to:
90be47_file1.txt
dbd06c_file2.txt
a7b5b7_file3.txt
License
Metadata
Release files for hash-rename 0.3.1
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 |
|---|---|---|---|---|
| hash_rename-0.3.1.tar.gz | 4.3 kB | Without provenance | Details for hash_rename-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hash_rename-0.3.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for hash_rename-0.3.1-py2.py3-none-any.whl |
Total release size: 8.8 kB
Release files / hash_rename-0.3.1.tar.gz
| Download URL | hash_rename-0.3.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4da758ff151d7207c662e69eb76b14cfb59b432f4a4384091ebb7f50bd440e5c
|
|
BLAKE2b-256 checksum How to use checksums |
5158e8d64fc945541c7962ef5ba4ba9dfe9cf577b984697724c79227d524887d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Release files / hash_rename-0.3.1-py2.py3-none-any.whl
| Download URL | hash_rename-0.3.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
476abcf00065abb6e0f55e0faf477e9987c9fd92717bd2211dc54b530a062e7e
|
|
BLAKE2b-256 checksum How to use checksums |
7514150df61be74447882fa1edf854d0d86296099f23230f1ea4928a8967b706
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Security for hash-rename 0.3.1
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.