J'essaie de faire en sorte qu'Unison synchronise deux dossiers, un sur mon ordinateur Ubuntu et un sur mon Mac. (J'ai réussi à faire fonctionner Rsync auparavant, mais je veux une synchronisation bidirectionnelle, c'est pourquoi je me tourne vers Unison). Comme test, j'ai créé un simple dossier sur ma machine Ubuntu nommé syncTest qui contient deux fichiers texte, file1.txt et file2.txt. Puis j'ai utilisé cette commande :
unison ~/syncTest/ ssh://admin@Macbook.local//Users/Admin/syncTest
La sortie de la commande est la suivante :
Contacting server...Connected [//MacBook.local//Users/Admin/syncTest -
> //notre-ubuntu//home/notre/syncTest]
Looking for changes
Warning: No archive files were found for these roots, whose canonical
names are:
/home/notre/syncTest
//MacBook.local//Users/Admin/syncTest
This can happen either
because this is the first time you have synchronized these roots,
or because you have upgraded Unison to a new version with a different
archive format.
Update detection may take a while on this run if the replicas are
large.
Unison will assume that the 'last synchronized state' of both
replicas was completely empty. This means that any files that are
different will be reported as conflicts, and any files that exist
only on one replica will be judged as new and propagated to the other
replica. If the two replicas are identical, then no changes will be
reported.
If you see this message repeatedly, it may be because one of your
machines is getting its address from DHCP, which is causing its host
name to change between synchronizations. See the documentation for
the UNISONLOCALHOSTNAME environment variable for advice on how to
correct this.
Donations to the Unison project are gratefully accepted:
http://www.cis.upenn.edu/~bcpierce/unison
Press return to continue.[<spc>] Waiting for changes from server
Reconciling changes
local MacBook.l...
dir ----> / [f]
A ce stade, il ne se passe plus rien. Il semble rester indéfiniment sur mon ordinateur Ubuntu. Avez-vous une idée de ce qui pourrait ne pas fonctionner ?
Merci !