Unison File Synchronizer

From arai blog

Unison: Frequently Asked Questionsより

What are the differences between Unison and rsync?


Rsync is a mirroring tool; Unison is a synchronizer. That is, rsync needs to be told 'this replica contains the true versions of all the files; please make the other replica look exactly the same.' Unison is capable of recognizing updates in both replicas and deciding which way they should be propagated.


Both Unison and rsync use the so-called `rsync algorithm,' by Andrew Tridgell and Paul Mackerras, for performing updates. This algorithm streamlines updates in small parts of large files by transferring only the parts that have changed.

ゆにそんとrsyncの違いは?

rsyncミラーリングツールでゆにそんはシンクロナイザーです。つまり、rsyncは「こっちに最新のバージョンがあるから、こいつを他の場所にコピーしろ」といちいち教えないとだめですが、ゆにそんはファイルごとに最新版が違う場所にあってもいいし、どっちが最新かわからなくても自分で判断してくれます。

ただし、同期更新のためにrsyncアルゴリズムを使う点は、どちらも同じです。巨大なファイルであっても更新された個所がわずかなら、このアルゴリズムのおかげでその更新部分だけのやりとりですませることができます。