yarsync icon indicating copy to clipboard operation
yarsync copied to clipboard

hard links don't work with ignore-existing

Open ynikitenko opened this issue 2 years ago • 1 comments

rsync key --ignore-existing seems to conflict with -H (hard links). Filed an issue for rsync, got no reply yet. If this doesn't get fixed (or suggested how to fix that in yarsync), then ignoring existing files will not work. This is a nice security feature, it was introduced right before the 0.1 release.

At the moment, use --overwrite key during yarsync pull/push. Alternatively, use the hardlink executable afterwards (doesn't always work; in this case remove new commits and re-synchronize with --ignore-existing). clone, commit and other commands work fine, because --ignore-existing is used only in pull/push.

ynikitenko avatar Aug 30 '22 08:08 ynikitenko

Thanks for the workaround explanation.

curable-online avatar Apr 01 '23 11:04 curable-online