Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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`.