Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kseen715/hashname
Simple hash-renaming tool
https://github.com/kseen715/hashname
Last synced: 5 days ago
JSON representation
Simple hash-renaming tool
- Host: GitHub
- URL: https://github.com/kseen715/hashname
- Owner: Kseen715
- License: mit
- Created: 2024-01-27T09:29:02.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-16T23:39:57.000Z (9 months ago)
- Last Synced: 2024-10-31T04:42:44.715Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hashname
## Description
Simple renaming tool for files. It computes the hash of the file and renames it to the hash. Process is not reversible.
## Usage
```
pyhton3 hashname.py -f [filepath]
```Rename all files in a directory:
```
pyhton3 hashname.py -F [folder]
```Rename all files in a directory recursively:
```
pyhton3 hashname.py -rF [folder]
```Also, you can use the `-a` option to specify the algorithm to use. By default, it uses `sha256`. There are other options like `sha1` and `md5`.