APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

2004/11/13 unison

Unison project.

Unison is similar to rsync, and has a Windows version. There are binaries and ports available, but if you need or want to build this, you need an Objective Caml compiler ( http://caml.inria.fr) for that. A lot of work to get to something most of us would just use rsync for. It is, I suppose, nice that unision is bi-directional: if you have "somedir" here and at "somemachine", you can make changes in either place and the same unison command will synchronize them. From the manual:

On each host, it compares its archive file (which records the state
of each path in the replica when it was last synchronized) with
the current contents of the replica, to determine which paths have
been updated.

It checks for ``false conflicts'' --- paths that have been updated
on both replicas, but whose current values are identical. These
paths are silently marked as synchronized in the archive files in
both replicas.

It displays all the updated paths to the user. For updates that
do not conflict, it suggests a default action (propagating the new
contents from the updated replica to the other). Conflicting updates
are just displayed. The user is given an opportunity to examine
the current state of affairs, change the default actions for
nonconflicting updates, and choose actions for conflicting updates.

It performs the selected actions, one at a time. Each action is
performed by first transferring the new contents to a temporary
file on the receiving host, then atomically moving them into place.

It updates its archive files to reflect the new state of the

Got something to add? Send me email.

Increase ad revenue 50-250% with Ezoic

More Articles by

Find me on Google+

© Tony Lawrence

Kerio Samepage

Have you tried Searching this site?

Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us