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

2004/11/13 unison

© 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 ( https://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.

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

Printer Friendly Version

-> unison

Inexpensive and informative Apple related e-books:

Are Your Bits Flipped?

Take Control of Pages

Photos: A Take Control Crash Course

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

Take Control of iCloud

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

Better to fight for something than live for nothing. (George S. Patton)

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

SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)