July 26, 2017

How to Install Unison on FreeBSD

Unison Logo

Are you searching for a file synchronizer that runs on almost every operating system such as Unix, Linux, Mac OS X, Solaris and Windows? The file synchronizer Unison is a great choice. With Unison you can even synchronize files between different platforms. Unison is based on the rsync algorithm and can detect synchronization conflicts. Combining Unison with an event audit tool can keep you server farm in sync. All that comes with an open source license.

Root access is required to edit the following files and to execute commands. Log in as root (su) or simply prepend sudo to all commands that require root privileges.

Installing Unison on FreeBSD

Type the following commands to install Unison:

cd /usr/ports/net/unison
make install clean; rehash

I have choosen the default installation options without X11, GTK, Gnome, XCB and gObject

Using Unison on FreeBSD

The following command will sync the local test directory with the test directory on the remote system:

unison -batch /test ssh://server1.domain.com//test

Speak Your Mind