Using printf for logging.

introduce-mdls
Mike Holloway 3 years ago
parent 0125bef486
commit 916dddcf07
  1. 6
      hash-files

@ -9,9 +9,9 @@ DateTimeStamp=$(date +\%D_\%T)
############ ############
write_log () { write_log () {
echo " ++ Write to log. #echo " ++ Write to log.
$DateTimeStamp - $1 # +++++++++++++++"
+++++++++++++++" printf '%s - %s' "$DateTimeStamp" "$1"
} }
create_list_of_files () { create_list_of_files () {

Loading…
Cancel
Save