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:

  1. 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 no path you'll duplicate everything --- be careful with hidden files though)

  2. 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): unison-gtk

  3. 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