Table of Contents

Unison File Synchronizer

Introduction

Unison is a cross-platform and robust file synchronisation tool. Version 2.13.16 of Unison is installed on both fileservers russel.inf.unibz.it and actarus.inf.unibz.it.

Installation and Use

MacOS X

Tips and Tricks

root = ssh://stessaris@russel.inf.unibz.it//home/professors/stessaris

Windows XP

Install Unison on Windows to syncronize data between Windows and Linux using SSH

Requirements

Software Packages:

  1. gtk-runtime-2.12.1-rev-b.exe
  2. ssh.exe
  3. Unison-2.27.57-Gtk.zip
  4. Unison-ssh.zip

Download Software Packages from Internet or from our local Repository!

Installation

Install all 4 Packages
  1. Run gtk-runtime-2.12.1-rev-b.exe by default installed in C:\Program Files\Common Files\GTK\2.0
  2. Copy ssh.exe in C:\WINDOWS\
  3. Create folder Unison in C:\Program Files\ and extract Unison-2.27.57 Gtk+.exe, if you want to use the graphical interface to the newly created folder
  4. Extract from unison-ssh.zip the file plink.exe and place it in C:\WINDOWS\
Add bin gtk-runtime to PATH
  1. Select My Computer → Properties → Advanced
  2. Environment Variables → System Variables: Click on Path and press Edit
  3. Go to the end of the line and insert :C:\Program Files\Common Files\GTK\2.0\bin
  4. Press 3 x OK

Test if Unison works by double clicking Unison-2.27.57 Gtk+.exe in C:\Program Files\Unison

Unison configuration files are stored in C:\Documents and Settings\username\.unison. Initially there should be a configuration file default.prf there. Prepare/Modify a configuration file to fit your needs.

If the Unison version on your Server is different you can use the -addversionno. For this create a batch file e.g. sync.bat in the C:\Program Files\Unison directory:

snyc.bat

"C:\Program Files\Unison\Unison-2.27.57 Gtk+.exe" -addversionno

Next create from the batch file a shortcut to the Desktop if you wish.