
See Resources if there is no handy package for your distribution.Ĭompiling and installing Unison is simple type make UISTYLE=xxx. A few extra hoops must be jumped through, however, because Unison is programmed in OCaml, not the most common language. If you'd like to compile from source, you can. But the binaries downloadable from the Unison home page should work for most people. Unison isn't as widely deployed as rsync, so you might not be able to find a precompiled package for your distribution. Pierce, is a professor in the Department of Computer and Information Science. Unison's home page is maintained at the University of Pennsylvania the project leader, Benjamin C. Quite a bit of extra disk space often is needed for Unison, though, because the synchronizer needs to keep track of what the files looked like on the last run.

No extra work is needed-simply specify ssh:// when adding a directory location. It uses the rsync algorithm to keep network traffic down and should be tunneled through SSH over untrusted networks. The most common use is keeping your local and remote home directory, or some data directory you often use in different contexts, in sync. Think of Unison as two-way rsync with a bit of revision control mixed in. Unison can sort out what has changed where, propagate the changed files and even merge different changes to the same file if you tell it how. With rsync, you'd need to reconcile the differences between the two directories manually or risk overwriting someone's changes.

Other people might have modified other documents in the same directory by the time you get back.

You might have mirrored a company document directory to your laptop, for example, and then modified a document or two. Those of you who've used IBM Lotus Notes or Intellisync Mobile Suite probably have an idea of what synchronization is good for, as compared to one-way mirroring options such as rsync. Unison is a file-synchronization tool that runs on Linux, UNIX and Microsoft Windows.
