VERSION=1.8.0 WORKING_DIR=/tmp/syncthing-$VERSION rm -rf $WORKING_DIR mkdir $WORKING_DIR cd $WORKING_DIR wget https://github.com/syncthing/syncthing/releases/download/v$VERSION/syncthing-linux-amd64-v$VERSION.tar.gz tar xzvf syncthing-linux-amd64-v$VERSION.tar.gz cd syncthing-linux-amd64-v$VERSION # If the following command throws an error like: "cp: cannot create regular file `/usr/local/bin/syncthing': Text file busy", # shutdown the current Syncthing session from the UI and retry. sudo cp syncthing /usr/local/bin
Note: Change version number to the latest one.
brew cask install syncthing
If you run into any issues (for e.g., Syncthing doesn’t start), try starting the daemon through the command line to see what the problem is:
syncthing --gui-address=0.0.0.0:8384 &
UI is available here as long as the above command is running.
If you don’t want to use automated address discovery, explicitly set addresses to the following on each side:
/Library /Pictures/Photos Library.photoslibrary (?i)*cache* /.Trash