mirror of https://github.com/octoleo/lsyncd.git
added --existing
This commit is contained in:
parent
aaae8f4083
commit
d5957200a2
|
@ -63,6 +63,7 @@ rsync.checkgauge = {
|
||||||
cvs_exclude = true,
|
cvs_exclude = true,
|
||||||
dry_run = true,
|
dry_run = true,
|
||||||
executability = true,
|
executability = true,
|
||||||
|
existing = true,
|
||||||
group = true,
|
group = true,
|
||||||
hard_links = true,
|
hard_links = true,
|
||||||
ignore_times = true,
|
ignore_times = true,
|
||||||
|
@ -492,6 +493,12 @@ rsync.prepare =
|
||||||
computed[ computedN ] = '--chown=' .. crsync.chown
|
computed[ computedN ] = '--chown=' .. crsync.chown
|
||||||
computedN = computedN + 1
|
computedN = computedN + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if crsync.existing
|
||||||
|
then
|
||||||
|
computed[ computedN ] = '--existing'
|
||||||
|
computedN = computedN + 1
|
||||||
|
end
|
||||||
|
|
||||||
if crsync.inplace
|
if crsync.inplace
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue