mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-10 04:42:31 +01:00
Rsync: support for backupninja's test option (#8196)
This commit is contained in:
parent
8b6b607d60
commit
c649339ba4
@ -920,6 +920,10 @@ function set_filelist {
|
||||
|
||||
function set_rsync_options {
|
||||
|
||||
if [ "$test" ]; then
|
||||
rsync_options="$rsync_options --dry-run"
|
||||
fi
|
||||
|
||||
if [ "$numericids" != "0" ]; then
|
||||
rsync_options="$rsync_options --numeric-ids"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user