https://github.com/xxkfqz/hashname.py
Rename files to their hash
https://github.com/xxkfqz/hashname.py
Last synced: about 2 months ago
JSON representation
Rename files to their hash
- Host: GitHub
- URL: https://github.com/xxkfqz/hashname.py
- Owner: xxkfqz
- License: wtfpl
- Created: 2021-05-04T07:09:13.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-26T12:07:33.000Z (over 3 years ago)
- Last Synced: 2025-01-28T03:24:31.777Z (4 months ago)
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
usage: hashname [-h] [-f] [-F] [-a ALGORITHM] [-d] [-v] FILE [FILE ...]
Rename files to their hash
positional arguments:
FILE Path to file to renameoptional arguments:
-h, --help show this help message and exit
-f, --force Process the file even if it looks like it has already
been processed
-F, --force-rename Rename file even there is another file with the same
result name
-a ALGORITHM, --algorithm ALGORITHM
Set specific hash algorithm: "md5", "sha256"
(default), "sha512"
-d, --dry-run Do not actually rename files
-v, --verbose Print more information during processing