From 346aa1082233b0b541e9b62b670e6bbfaf2046db Mon Sep 17 00:00:00 2001 From: Foxly IT <81775975+foxly-it@users.noreply.github.com> Date: Wed, 13 Oct 2021 07:01:03 +0200 Subject: [PATCH] Update backup.sh --- backup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backup.sh b/backup.sh index 0010ba1..cc2dcc8 100644 --- a/backup.sh +++ b/backup.sh @@ -27,6 +27,10 @@ echo "" # #################### backup_VER="v1.1" +str_repeat() { + printf -v v "%-*s" "$1" "" + echo "${v// /$2}" +} displaytime() { local T=$1