|
|
|
@ -3,11 +3,11 @@
|
|
|
|
|
PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
|
|
|
|
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
|
|
|
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
|
|
|
|
PROGRAM_VERSION=1.1.2
|
|
|
|
|
PROGRAM_BUILD=20160802201
|
|
|
|
|
PROGRAM_VERSION=1.1.3
|
|
|
|
|
PROGRAM_BUILD=2016090201
|
|
|
|
|
IS_STABLE=yes
|
|
|
|
|
|
|
|
|
|
## FUNC_BUILD=2016071902-b
|
|
|
|
|
## FUNC_BUILD=2016071902-c
|
|
|
|
|
## BEGIN Generic functions for osync & obackup written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
|
|
|
|
|
|
|
|
|
|
## type -p does not work on platforms other than linux (bash). If if does not work, always assume output is not a zero exitcode
|
|
|
|
@ -577,7 +577,7 @@ function StripQuotes {
|
|
|
|
|
|
|
|
|
|
function EscapeSpaces {
|
|
|
|
|
local string="${1}" # String on which spaces will be escaped
|
|
|
|
|
echo "${string// /\ }"
|
|
|
|
|
echo "${string// /\\ }"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function IsNumeric {
|
|
|
|
|