add rsync.chown

This commit is contained in:
Axel Kittenberger 2016-08-29 13:12:09 +02:00
parent 60d84c3ea1
commit 545eb341cf
3 changed files with 17 additions and 13 deletions

View File

@ -1,5 +1,8 @@
??-??-????: ??-??-????:
enhancement: add rsync options: "omit-dir-times" and "omit-link-times" enhancement: add rsync options:
"chown",
"omit-dir-times",
"omit-link-times"
change: _verbatim forced for 'exitcodes' entry. change: _verbatim forced for 'exitcodes' entry.
15-10-2015: 2.1.6 15-10-2015: 2.1.6

View File

@ -57,6 +57,7 @@ rsync.checkgauge = {
binary = true, binary = true,
bwlimit = true, bwlimit = true,
checksum = true, checksum = true,
chown = true,
compress = true, compress = true,
copy_links = true, copy_links = true,
cvs_exclude = true, cvs_exclude = true,
@ -487,6 +488,12 @@ rsync.prepare =
computedN = computedN + 1 computedN = computedN + 1
end end
if crsync.chown
then
computed[ computedN ] = '--chown=' .. crsync.chown
computedN = computedN + 1
end
if crsync.inplace if crsync.inplace
then then
computed[ computedN ] = '--inplace' computed[ computedN ] = '--inplace'

View File

@ -425,39 +425,33 @@ end
-- --
-- allow processes -- allow processes
-- --
rsyncssh.maxProcesses = rsyncssh.maxProcesses = 1
1
-- --
-- The core should not split move events -- The core should not split move events
-- --
rsyncssh.onMove = rsyncssh.onMove = true
true
-- --
-- default delay -- default delay
-- --
rsyncssh.delay = rsyncssh.delay = 15
15
-- --
-- no default exit codes -- no default exit codes
-- --
rsyncssh.exitcodes = rsyncssh.exitcodes = false
false
-- --
-- rsync exit codes -- rsync exit codes
-- --
rsyncssh.rsyncExitCodes = rsyncssh.rsyncExitCodes = default.rsyncExitCodes
default.rsyncExitCodes
-- --
-- ssh exit codes -- ssh exit codes
-- --
rsyncssh.sshExitCodes = rsyncssh.sshExitCodes = default.sshExitCodes
default.sshExitCodes
-- --
-- xargs calls configuration -- xargs calls configuration