Unison – bidirectional file synchronization

Unison - bi-directional file synchronization

Unison has a simple and intuitive GTK user interface (GUI), when it created a utility algorithm was used Rsync (universal command line utility for copying files), so synchronization between directories is transferred, only the changed files (parts of files).Work bidirectional synchronization Unison is that simultaneous changes in files and directories, two copies will be synchronized and united (if timing is checked and stored access rights), this is opposed to mirroring used Rsync, when changes are propagated only in one direction (from source to destination).
Unison can run locally and in client-server mode, supports compression of transmitted data, providing the ability to optimally use the data channel. For ease of use, you can create profiles that specify directories to sync types of files to ignore, etc. The profiles are saved in plain text files with the extension *.prf (in the directory ~/.unison).
When you synchronize with remote computers, use SSH (Secure Shell), to synchronize more than two machines it is preferable to use a “star topology” when all client computers are synchronized through one computer-server. This helps to avoid conflicts that may arise when using “ring topology“.

Unison - bidirectional file synchronization

The first synchronization and synchronize large directories can take a long time (especially with the remote machine), the synchronization process displays a table of changes between directories. The only situation in which Unison will not be able to cope without user intervention is when the client machines have changed the same file, in such situation, you will be prompted which file to save (for diff use diff).

  • Unison runs on both Windows and many flavors of Unix (Solaris, Linux, OS X, etc.) systems. Moreover, Unison works across platforms, allowing you to synchronize a Windows laptop with a Unix server, for example.
  • Unlike simple mirroring or backup utilities, Unison can deal with updates to both replicas of a distributed directory structure. Updates that do not conflict are propagated automatically. Conflicting updates are detected and displayed.
  • Unlike a distributed filesystem, Unison is a user-level program: there is no need to modify the kernel or to have superuser privileges on either host.
  • Unison works between any pair of machines connected to the internet, communicating over either a direct socket link or tunneling over an encrypted ssh connection. It is careful with network bandwidth, and runs well over slow links such as PPP connections. Transfers of small updates to large files are optimized using a compression protocol similar to rsync.
  • Unison is resilient to failure. It is careful to leave the replicas and its own private structures in a sensible state at all times, even in case of abnormal termination or communication failures.
  • Unison has a clear and precise specification.
  • Unison is free; full source code is available under the GNU Public License.

Installation into Linux Mint:

sudo apt install unison-gtk

Unison - bidirectional file synchronization
Unison - bidirectional file synchronization
Unison - bidirectional file synchronization

May the Force be with you,
Good Luck!!!

Share to friends
Rate author
( No ratings yet )
Notify of
Inline Feedbacks
View all comments