Forked from
iMSTK / iMSTK
Source project has a limited visibility.
-
Mayeul Chassagnard authored
* specify the algo preceded by a dash such as -algo with algo=[sha sha1 sha224 sha256 sha384 sha512 md5] * specify the path to a folder or a file - if file: create key file at dest_path (=path by default) - if folder: go through all sub-directories and create key files at dest_path (=path by default) based on sub-directory architecture /!\ WARNING /!\ : Won't work has expected if a directory contains dot! -> Because we identify a file if it contains dot for now See https://github.com/MayeulChassagnard/BashScripting/blob/master/bash/convertToKeyFile.sh Signed-off-by:
Mayeul Chassagnard <mayeul.chassagnard@kitware.com>
Mayeul Chassagnard authored* specify the algo preceded by a dash such as -algo with algo=[sha sha1 sha224 sha256 sha384 sha512 md5] * specify the path to a folder or a file - if file: create key file at dest_path (=path by default) - if folder: go through all sub-directories and create key files at dest_path (=path by default) based on sub-directory architecture /!\ WARNING /!\ : Won't work has expected if a directory contains dot! -> Because we identify a file if it contains dot for now See https://github.com/MayeulChassagnard/BashScripting/blob/master/bash/convertToKeyFile.sh Signed-off-by:
Mayeul Chassagnard <mayeul.chassagnard@kitware.com>