Я пытаюсь заставить Unison синхронизировать две папки, одну на моем компьютере Ubuntu и одну на моем Mac. (Мне удалось запустить Rsync раньше, но я хочу двунаправленную синхронизацию, поэтому я смотрю на Unison). В качестве теста я создал простую папку на моей машине Ubuntu с именем syncTest, которая содержит два текстовых файла: file1.txt и file2.txt. Затем я использовал эту команду:
unison ~/syncTest/ ssh://admin@Macbook.local//Users/Admin/syncTest
Вывод команды таков:
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]
В этот момент больше ничего не происходит. Кажется, он сидит бесконечно на моем компьютере Ubuntu. Любые идеи о том, что может пойти не так?
Спасибо!
Вам нужно нажать клавишу f. Unison ждет подтверждения, чтобы продолжить синхронизацию. Стрелка означает, что она будет синхронизироваться с local до MacBook.l.
Вам нужно нажать клавишу f. Unison ждет подтверждения, чтобы продолжить синхронизацию. Стрелка означает, что она будет синхронизироваться с local до MacBook.l.
Вам нужно нажать клавишу f. Unison ждет подтверждения, чтобы продолжить синхронизацию. Стрелка означает, что она будет синхронизироваться с local до MacBook.l.