View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > Unison

From LQWiki

(Redirected from UnisOn)
Jump to: navigation, search

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.

Contents

Web Site

http://www.cis.upenn.edu/~bcpierce/unison/

Stable User Manual

http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html

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 )

A much better solution than using the previously mentioned socket method is by executing unison in a remote shell via SSH. It's also easier to use because the SSH server only needs unison installed and does not require additional services to be running.

Using the same computer names in the above example, and earth running an SSH server, the process is simplified with a single command:

mars:/ # unison /srv/www/htdocs/mediawiki ssh://earth//srv/www/htdocs/mediawiki

See also


Share

Personal tools