Are rsync operations atomic at file level?

前端 未结 3 1211
粉色の甜心
粉色の甜心 2020-12-20 11:38

I\'m trying to figure out how if rsyncing files is atomic. I couldn\'t find any confirmation about it. Due to rsync being able to send only deltas, I was under the impressio

3条回答
  •  死守一世寂寞
    2020-12-20 12:38

    There is a perl script that is supposed to add this functionality: http://www.opensource.apple.com/source/rsync/rsync-40/rsync/support/atomic-rsync

    The problem is that I tried to test it and it doesn't work. Also there is something strage because from the URL it looks like being something related to rsync 4.0 and the current version of rsync is 2.6.9 !

提交回复
热议问题