

I get the same output if I try to run the same command (reversing the ssh) form inside the VM.

+ File system monitoring: more robust communication. unison doesnt include unison-fsmonitor for macOS, thus -repeat watch. Unison without -repeat watch works without issues. In unison 2.48.3, a native fsmonitor is introduced, with the new fsmonitor, unison can impliment dropbox like sync on demand,following is quotad from upstream NEWS: File system monitoring: + The file watcher now fails when unable to watch a directory, rather than silently ignoring the issue. Unison Alternatives Unison is described as file-synchronization tool for Unix and. Unison ships with an adapter for Linux and Windows, but not for macOS. This mode relies on an adapter program, unison-fsmonitor, that provides the system-specific glue for filesystem notifications. If root is a valid unison profile, we attemptįor my localhost, I installed unison via homebrew, and downloaded the unox.py file from github and installed it to /usr/local/bin/unison-fsmonitor.įor my VM, I used ppa:eugenesan/ppa for unison, and downloaded the source for version 2.48.3 from the unison website to get a copy of fsmonitor.py, which I placed under /usr/bin/unison-fsmonitor. In -repeat watch mode, Unison can automatically re-sync whenever it notices that a file has changed. This program monitors file system changes on all given (relative to root) pathsĪnd dumps paths (relative to root) files to a file. This script implements the Unison fswatch protocol (see /src/fswatch.ml). ' from the filesystem watcher (expected VERSION) through an abstract unison-fsmonitor adapter that integrates with each. Which produces the following output Contacting server.įatal error: Server: Unexpected response 'Usage: unison-fsmonitor root. 0/src /bin/sh: bash: not found ocamlopt: compat408.mli -> compat408.cmi ocamlopt -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux. I’m trying to sync a folder in my host OSX to a VM running Ubuntu.
