A tool to rename files in a folder to be prefixed with a hash of the file's contents
Project description
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
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
hash_rename-0.3.1.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for hash_rename-0.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 476abcf00065abb6e0f55e0faf477e9987c9fd92717bd2211dc54b530a062e7e |
|
MD5 | 5e3538297b577a413a30d9e39629594d |
|
BLAKE2b-256 | 7514150df61be74447882fa1edf854d0d86296099f23230f1ea4928a8967b706 |