小编Mar*_*lli的帖子

运行 `unison -repeat watch` 会产生文件系统观察器错误

我正在尝试将主机 OSX 中的文件夹同步到运行 Ubuntu 的 VM。(laravel/宅基地)。这是我在主机上运行的命令:

$ unison ssh://vagrant@192.168.10.10//home/vagrant/www ~/unison/www -repeat watch

产生以下输出

Contacting server...
Connected [...]
Looking for changes
  Waiting for changes from server
Fatal error: Server: Unexpected response 'Usage: unison-fsmonitor [options] root [path] [path]...' from the filesystem watcher (expected VERSION)
Run Code Online (Sandbox Code Playgroud)

在我的本地主机上:

$ unison -version
unison version 2.48.3
$ unison-fsmonitor
VERSION 1
Run Code Online (Sandbox Code Playgroud)

在我的虚拟机上:

$ unison -version
unison version 2.48.3
$ unison-fsmonitor
Usage: unison-fsmonitor [options] root [path] [path]...
This program monitors file system changes on all given (relative to root) …
Run Code Online (Sandbox Code Playgroud)

synchronization unison

6
推荐指数
1
解决办法
6922
查看次数

标签 统计

synchronization ×1

unison ×1