diff --git a/default-rsync.lua b/default-rsync.lua index 0b1c7df..390df1f 100644 --- a/default-rsync.lua +++ b/default-rsync.lua @@ -61,6 +61,7 @@ rsync.checkgauge = { compress = true, copy_dirlinks = true, copy_links = true, + copy_unsafe_links = true, cvs_exclude = true, dry_run = true, executability = true, @@ -588,6 +589,12 @@ rsync.prepare = function computedN = computedN + 1 end + if crsync.copy_unsafe_links + then + computed[ computedN ] = '--copy-unsafe-links' + computedN = computedN + 1 + end + if crsync.groupmap then computed[ computedN ] = '--groupmap=' .. crsync.groupmap