unison is a filesynchronization tool for unix and windows. it allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other.
unison shares a number of features with tools such as configuration management packages (cvs, prcs, subversion, bitkeeper, etc.), distributed filesystems (coda, etc.), unidirectional mirroring utilities (rsync, etc.), and other synchronizers (intellisync, reconcile, etc). however, there are several points where it differs:
* unison runs on both windows and many flavors of unix (solaris, linux, os x, etc.) systems. moreover, unison works across platforms, allowing you to synchronize a windows laptop with a unix server, for example. * unlike simple mirroring or backup utilities, unison can deal with updates to both replicas of a distributed directory structure. updates that do not conflict are propagated automatically. conflicting updates are detected and displayed. * unlike a distributed filesystem, unison is a userlevel program: there is no need to modify the kernel or to have superuser privileges on either host. * unison works between any pair of machines connected to the internet, communicating over either a direct socket link or tunneling over an encrypted ssh connection. it is careful with network bandwidth, and runs well over slow links such as ppp connections. transfers of small updates to large files are optimized using a compression protocol similar to rsync. * unison is resilient to failure. it is careful to leave the replicas and its own private structures in a sensible state at all times, even in case of abnormal termination or communication failures. * unison has a clear and precise specification. * unison is free; full source code is available under the gnu public license.