From a22bdf470c10df14fe257920563339d4bab8eaa3 Mon Sep 17 00:00:00 2001 From: ByteDream Date: Mon, 24 May 2021 23:28:35 +0200 Subject: [PATCH] Switched bodies of randomize-filename and hashify-filename --- hashify-filename/README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/hashify-filename/README.md b/hashify-filename/README.md index a9d9159..a512e85 100644 --- a/hashify-filename/README.md +++ b/hashify-filename/README.md @@ -1,20 +1,18 @@ ## Hashify Filename -With this little script you can randomize the names of given files. File extension won't be changed. +With this little script you can rename given files to its [MD5](https://en.wikipedia.org/wiki/MD5) hashsum. File extension won't be changed. + +This script is just a fork of [randomize-filename](../randomize-filename). #### Arguments -The file takes several arguments +The can take one extra argument `-r` - recursive: If any directory where given while calling this command, all files in it will be renamed recursively. -`-a` - all (the name is a little misleading): Normally directories are not renamed, but with this argument they will. - -`-l LENGHT` - lenght: The lenght of the randomized filenames (default is 16). Replace `LENGHT` with the lenght the randomized names should have. - #### Usage ``` -$ randomize-filename.sh -r . +$ hashify-filename.sh -r . ```