https://github.com/marvinjwendt/rename-files-to-hash
Python standalone file to rename all files in the current directory to their hashsum
https://github.com/marvinjwendt/rename-files-to-hash
file hash hashing hashing-algorithm python rename rename-files
Last synced: about 2 months ago
JSON representation
Python standalone file to rename all files in the current directory to their hashsum
- Host: GitHub
- URL: https://github.com/marvinjwendt/rename-files-to-hash
- Owner: MarvinJWendt
- License: mit
- Created: 2017-09-05T17:58:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-24T02:23:52.000Z (about 7 years ago)
- Last Synced: 2025-03-25T07:51:11.568Z (9 months ago)
- Topics: file, hash, hashing, hashing-algorithm, python, rename, rename-files
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 14
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rename-Files-To-Hash
#### Single python file to rename all files in a directory to their hash sums.
---
### Run the file
The file is written in the language `python` which means you have to have `python` installed.
If not: Do so [here](https://www.python.org/).
To run the script open a command prompt/shell and type in: `python !rename.py`
This will rename all files (itself excluded) to the hashing algorithm `md5`.
If you want to use another hashing algorithm from the list use this command:
`python rename.py [md5/sha1/sha224/sha256/sha384/sha512]`
#### Supported hashes
1. MD5
2. SHA1
3. sha224
4. sha256
5. sha384
6. sha512