Using printf for logging.

This commit is contained in:
Mike Holloway 2022-03-04 00:20:25 -05:00
parent 0125bef486
commit 916dddcf07

View File

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