nweeks Posted December 13, 2014 Report Share Posted December 13, 2014 Hi all, I've got a HEAP of folders syncing beautifully between many machine, and I'd like to add API functionality to one machine for monitoring / automated adding of folders. By the looks of it, I need to: do a `btsync --dump-sample-config` manually re-add all 438 shared folders in the JSON structure,Add the storage location to switch on the API. This isn't really going to work. is there any way I can run a `btsync --dump-running-config` instead? Please say yes. Pleeeeease... (Or, is there a way of adding the required flag to the '.sync/settings.dat' ?) Nige. Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted December 13, 2014 Report Share Posted December 13, 2014 You don't need to dump a sample config, just start Sync with a very basic config file. For example, on Windows, to enable to API, simply create a config file with the following:{ "storage_path" : "/Users/username/AppData/Roaming/BitTorrent Sync", "use_gui" : true, "webui" : { "listen" : "0.0.0.0:8888", "login" : "username", "password" : "password", "api_key" : "your_api_key" }} Quote Link to comment Share on other sites More sharing options...
nweeks Posted December 13, 2014 Author Report Share Posted December 13, 2014 Phew! That worked a treat! Thanks man! N. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.