6816 shaares
This uses syncthing cli which is included in the package, but the concepts should apply to folks looking to integrate into the REST API.
I have two virtual machines, syncOne and syncTwo, and I want to make a shared folder on them. I want to only use the CLI. Maybe these are remote machines, maybe I need to automate this, or maybe I don’t have a web browser handy.
It’s much easier than I expected, but it’s also not clear from the docs. Here’s how to do this.