Unison is a bidirectional, conflict detecting file-synchronization tool for OSX, Unix, and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating ...

learn more… | top users | synonyms

3
votes
1answer
29 views

Running Unison with incrond (inotify cron daemon)

We'd like to use unison to sync two servers. From the command line and in bash files the following command works fine: unison -batch /var/www/html/test ssh://host-2//var/www/html/test Files are ...
1
vote
1answer
65 views

How to achieve a bi-directional sync of userN files by user1 while keeping mtimes?

user1 wants to do a bi-directional sync between 2 machines. user1 is a member of group2 and has a non-privileged ssh tunnel. There are lots of files and dirs such as: rwxrwx--- userN group2 ...
0
votes
1answer
156 views

USB-HDD connected to router “disconnects” automatically

I have a USB-HDD, formatted as ext3 connected to my router, so I can use it as a home-network storage. It works quite well, however, when sending a lot of files to the harddrive (I tried to do a ...
2
votes
0answers
289 views

Unison replacing newer symlinks with older files using the option -force newer

I'm having a problem with Unison and symlinks. I created a test case for making it easier to understand and try this for yourself. First, we create the two directories that will be synced. And some ...
2
votes
0answers
306 views

Using Unison with colordiff

I want Unison to show the diffs with colordiff. I’ve got diff = colordiff -u CURRENT2 CURRENT1 | less -R in my config file but it seems like Unison pipes the output to plain less nonetheless, so I ...
1
vote
0answers
121 views

How to enable unison to login with ssh from systemd service unit?

I have a pdf-sync.path file for systemd runnin in user-space (systemctl --user enable pdf-sync.path). Whenever there is a change in the folder that I defined in the path file I want to synchronize ...
0
votes
0answers
274 views

Script to compare directories and move files (like rsync)

I use rsync to sync data between two servers. If I completely rebuild the directory structure, rsync cannot understand this and will attempt to recopy everything. I am aware that Unison is capable ...