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

2004/11/13 unison

Some material is very old and may be incorrect today

© November 2004 Tony Lawrence

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

If you found something useful today, please consider a small donation.

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> unison

Inexpensive and informative Apple related e-books:

Take Control of Upgrading to El Capitan

Take Control of OS X Server

Take Control of the Mac Command Line with Terminal, Second Edition

Take Control of Preview

Photos for Mac: A Take Control Crash Course

More Articles by © Tony Lawrence

Printer Friendly Version

Have you tried Searching this site?

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

Printer Friendly Version

I have been complimented many times and they always embarrass me; I always feel that they have not said enough. (Mark Twain)

Linux posts

Troubleshooting posts

This post tagged:



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode