Unison is a cross-platform file synchronization utility that shares many of the same benefits and concepts as other backup and synchronization tools such as rsync, SVN, CVS, etc. It provides users with much needed interactive control over complex bi-directional changes and bit-level differential file transfers.
To install Unison, follow the means of your distribution as described under installing software. If this is not possible, you need to compile Unison as described below for SUSE Linux Enterprise Server 11 Service Pack 1.
- install gcc and ocaml
- Open a console and enter
yast -i gcc-c++ ocaml
- download and unpack unison
- install unison
make && make install
Stable User Manual
Local file synchronization
To run Unison to compare two directories on the same computer, start it like this:
unison /directory1 /directory2
Remote file synchronization via SSH ( secure )
To synchronize between two computers over the network, use the ssh:// prefix. In this example, our computers are named mars and earth: