An open API service indexing awesome lists of open source software.

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

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 rename

optional 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