Prevent exclude pattern globbing
This commit is contained in:
parent
53eb3f1b90
commit
5ba7608af0
|
@ -28,6 +28,7 @@ UNDER WORK
|
||||||
RECENT CHANGES
|
RECENT CHANGES
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
- Prevent exclude pattern globbing before the pattern reaches the rsync cmd
|
||||||
- Fixed some missing child pids for time control to work
|
- Fixed some missing child pids for time control to work
|
||||||
- Prevent creation of a sync-id less log file when DEBUG is set
|
- Prevent creation of a sync-id less log file when DEBUG is set
|
||||||
- Added a sequential run batch script that can rerun failed batches
|
- Added a sequential run batch script that can rerun failed batches
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
osync 0.99RC4
|
osync 0.99RC4
|
||||||
=============
|
=============
|
||||||
|
|
||||||
A two way filesync script with fault tolerance, resuming, deletion backup and conflict backups.
|
A two way filesync script with fault tolerance, resuming, deletion backup and conflict backups running on linux and virtually any system supporting bash.
|
||||||
File synchronization is bidirectional, based on rsync, and can be run manually, by cron, or triggered via inotifytools (whenever a file changes on master, a file sync is triggered).
|
File synchronization is bidirectional, based on rsync, and can be run manually, by cron, or triggered via inotifytools (whenever a file changes on master, a file sync is triggered).
|
||||||
|
|
||||||
## About
|
## About
|
||||||
|
|
2
osync.sh
2
osync.sh
|
@ -722,6 +722,7 @@ function CheckMinimumSpace
|
||||||
|
|
||||||
function RsyncExcludePattern
|
function RsyncExcludePattern
|
||||||
{
|
{
|
||||||
|
set -f
|
||||||
OLD_IFS=$IFS
|
OLD_IFS=$IFS
|
||||||
IFS=$PATH_SEPARATOR_CHAR
|
IFS=$PATH_SEPARATOR_CHAR
|
||||||
for excludedir in $RSYNC_EXCLUDE_PATTERN
|
for excludedir in $RSYNC_EXCLUDE_PATTERN
|
||||||
|
@ -734,6 +735,7 @@ function RsyncExcludePattern
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
IFS=$OLD_IFS
|
IFS=$OLD_IFS
|
||||||
|
set +f
|
||||||
}
|
}
|
||||||
|
|
||||||
function RsyncExcludeFrom
|
function RsyncExcludeFrom
|
||||||
|
|
Loading…
Reference in New Issue