mirror of
https://github.com/deajan/obackup.git
synced 2025-01-12 07:03:54 +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"
|
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=2.0-pre
|
PROGRAM_VERSION=2.0-pre
|
||||||
PROGRAM_BUILD=2015111107
|
PROGRAM_BUILD=2015111501
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
FUNC_BUILD=2015111102
|
FUNC_BUILD=2015111102
|
||||||
@ -1926,7 +1926,7 @@ function RemoteLogger {
|
|||||||
|
|
||||||
function _RotateBackupsRemoteSSH {
|
function _RotateBackupsRemoteSSH {
|
||||||
OLD_IFS=$IFS
|
OLD_IFS=$IFS
|
||||||
IFS=$' \t\n'
|
IFS=$'\t\n'
|
||||||
for backup in $(ls -I "*.$PROGRAM.*" "$backup_path")
|
for backup in $(ls -I "*.$PROGRAM.*" "$backup_path")
|
||||||
do
|
do
|
||||||
copy=$ROTATE_COPIES
|
copy=$ROTATE_COPIES
|
||||||
|
@ -6,7 +6,7 @@ PROGRAM="obackup"
|
|||||||
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=2.0-pre
|
PROGRAM_VERSION=2.0-pre
|
||||||
PROGRAM_BUILD=2015111107
|
PROGRAM_BUILD=2015111501
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
source "/home/git/common/ofunctions.sh"
|
source "/home/git/common/ofunctions.sh"
|
||||||
@ -1042,7 +1042,7 @@ function RemoteLogger {
|
|||||||
|
|
||||||
function _RotateBackupsRemoteSSH {
|
function _RotateBackupsRemoteSSH {
|
||||||
OLD_IFS=$IFS
|
OLD_IFS=$IFS
|
||||||
IFS=$' \t\n'
|
IFS=$'\t\n'
|
||||||
for backup in $(ls -I "*.$PROGRAM.*" "$backup_path")
|
for backup in $(ls -I "*.$PROGRAM.*" "$backup_path")
|
||||||
do
|
do
|
||||||
copy=$ROTATE_COPIES
|
copy=$ROTATE_COPIES
|
||||||
|
@ -6,7 +6,7 @@ PROGRAM="obackup"
|
|||||||
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=2.0-pre
|
PROGRAM_VERSION=2.0-pre
|
||||||
PROGRAM_BUILD=2015111107
|
PROGRAM_BUILD=2015111501
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
FUNC_BUILD=2015111102
|
FUNC_BUILD=2015111102
|
||||||
@ -1790,7 +1790,7 @@ function RemoteLogger {
|
|||||||
|
|
||||||
function _RotateBackupsRemoteSSH {
|
function _RotateBackupsRemoteSSH {
|
||||||
OLD_IFS=$IFS
|
OLD_IFS=$IFS
|
||||||
IFS=$' \t\n'
|
IFS=$'\t\n'
|
||||||
for backup in $(ls -I "*.$PROGRAM.*" "$backup_path")
|
for backup in $(ls -I "*.$PROGRAM.*" "$backup_path")
|
||||||
do
|
do
|
||||||
copy=$ROTATE_COPIES
|
copy=$ROTATE_COPIES
|
||||||
|
Loading…
Reference in New Issue
Block a user