Update backup.sh
This commit is contained in:
parent
fff887730a
commit
346aa10822
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ echo "" #
|
||||||
####################
|
####################
|
||||||
backup_VER="v1.1"
|
backup_VER="v1.1"
|
||||||
|
|
||||||
|
str_repeat() {
|
||||||
|
printf -v v "%-*s" "$1" ""
|
||||||
|
echo "${v// /$2}"
|
||||||
|
}
|
||||||
|
|
||||||
displaytime() {
|
displaytime() {
|
||||||
local T=$1
|
local T=$1
|
||||||
|
|
Loading…
Reference in a new issue