syncronizing with unison on ubuntu
Which manual do you refer to? I think that the tutorial is quite clear...
Anyway, I use Unison to sync all my machines. What I do is:
-
Create a profile in
~/.unison
,myprofile.prf
, like this:label = my shiny new profile root = /home/romano/ root = ssh://romano@remotehost//home/romano/ path = education path = research ...
(the
path
elements limits the subdirectories to be synced; i do not want all directories in my home to be synced by this profile, your usage can vary; if you use nopath
you'll duplicate everything --- be careful with hidden files though) Then I check that the thing works ok using the graphical interface
unison-gtk
--- from there you can check if the operation is going to be ok):-
Once you are confident that the sync will not eat your data for breakfast, you can use on the command line
unison -auto -batch myprofile