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: 8 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 (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-16T23:39:57.000Z (8 months ago)
- Last Synced: 2024-03-17T05:32:02.469Z (8 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`.