mirror of
https://github.com/deajan/obackup.git
synced 2024-11-12 19:03:42 +01:00
Fixed remote rotation for filenames containing spaces
This commit is contained in:
parent
197f3036d1
commit
3b17f127cf
@ -6,7 +6,7 @@ PROGRAM="obackup"
|
||||
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
||||
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
||||
PROGRAM_VERSION=2.0-pre
|
||||
PROGRAM_BUILD=2015111107
|
||||
PROGRAM_BUILD=2015111501
|
||||
IS_STABLE=no
|
||||
|
||||
FUNC_BUILD=2015111102
|
||||
@ -1926,7 +1926,7 @@ function RemoteLogger {
|
||||
|
||||
function _RotateBackupsRemoteSSH {
|
||||
OLD_IFS=$IFS
|
||||
IFS=$' \t\n'
|
||||
IFS=$'\t\n'
|
||||
for backup in $(ls -I "*.$PROGRAM.*" "$backup_path")
|
||||
do
|
||||
copy=$ROTATE_COPIES
|
||||
|
@ -6,7 +6,7 @@ PROGRAM="obackup"
|
||||
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
||||
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
||||
PROGRAM_VERSION=2.0-pre
|
||||
PROGRAM_BUILD=2015111107
|
||||
PROGRAM_BUILD=2015111501
|
||||
IS_STABLE=no
|
||||
|
||||
source "/home/git/common/ofunctions.sh"
|
||||
@ -1042,7 +1042,7 @@ function RemoteLogger {
|
||||
|
||||
function _RotateBackupsRemoteSSH {
|
||||
OLD_IFS=$IFS
|
||||
IFS=$' \t\n'
|
||||
IFS=$'\t\n'
|
||||
for backup in $(ls -I "*.$PROGRAM.*" "$backup_path")
|
||||
do
|
||||
copy=$ROTATE_COPIES
|
||||
|
@ -6,7 +6,7 @@ PROGRAM="obackup"
|
||||
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
||||
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
||||
PROGRAM_VERSION=2.0-pre
|
||||
PROGRAM_BUILD=2015111107
|
||||
PROGRAM_BUILD=2015111501
|
||||
IS_STABLE=no
|
||||
|
||||
FUNC_BUILD=2015111102
|
||||
@ -1790,7 +1790,7 @@ function RemoteLogger {
|
||||
|
||||
function _RotateBackupsRemoteSSH {
|
||||
OLD_IFS=$IFS
|
||||
IFS=$' \t\n'
|
||||
IFS=$'\t\n'
|
||||
for backup in $(ls -I "*.$PROGRAM.*" "$backup_path")
|
||||
do
|
||||
copy=$ROTATE_COPIES
|
||||
|
Loading…
Reference in New Issue
Block a user