Datapotomus Posted November 21, 2013 Report Share Posted November 21, 2013 Is there a way to set it in linux? I didn't see anything in the conf file that would let me set it. Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted November 21, 2013 Report Share Posted November 21, 2013 Is there a way to set it in linux? I didn't see anything in the conf file that would let me set it. You'll need to add it to your config file. Quote Link to comment Share on other sites More sharing options...
WurmD Posted March 28, 2014 Report Share Posted March 28, 2014 We can generate a sample config file by doing ./btsync --dump-sample-config > sync.confBut what do we need to write in that file to set the folder_rescan_interval setting? Quote Link to comment Share on other sites More sharing options...
joncrain Posted March 28, 2014 Report Share Posted March 28, 2014 I'd also like the config file to allow Restore modified files to original version.Seems like the documentation for using a config file is fairly limited. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted March 29, 2014 Report Share Posted March 29, 2014 all, This is a param of a first level. Here is a sample config for it: { "device_name": "Mint CONF", "listening_port" : 0, // 0 - randomize port "storage_path" : "/home/test/BTSync1367/.sync", "check_for_updates" : true, "use_upnp" : true, // use UPnP for port mapping "webui" : { "listen" : "0.0.0.0:8888", "login" : "admin", "password" : "password" }, "folder_rescan_interval" : 567, "shared_folders" : [ { "secret" : "xxx", "dir" : "/home/test/use", "use_relay_server" : true, "use_tracker" : true, "use_dht" : false, "search_lan" : true, "use_sync_trash" : true } ]} Quote Link to comment Share on other sites More sharing options...
WurmD Posted March 30, 2014 Report Share Posted March 30, 2014 Thanks for the input, let's start the learning: a conf file with only this:{ "folder_rescan_interval" : 2000000000,}gives Error while parsing config file: parse error: invalid object key (must be a string) scan_interval" : 2000000000, } (right here) ------^I really like all the other default values, so I would like to provide a minimalistic conf file, What is the minimum needed, and what are the default values of those minimums Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted March 30, 2014 Report Share Posted March 30, 2014 a conf file with only this:{ "folder_rescan_interval" : 2000000000,}gives Error while parsing config file: parse error: invalid object key (must be a string) scan_interval" : 2000000000, } (right here) ------^ That will indeed give an error, as it's not valid JSON syntax. You'd need to remove the "," at the end of the line. A line should only end with a "," if there are further name/value pairs to follow, therefore, the last name/value pair should not end with a "," Quote Link to comment Share on other sites More sharing options...
WurmD Posted March 30, 2014 Report Share Posted March 30, 2014 Ok,then second hurdle{ "folder_rescan_interval" : 2000000000}To use BitTorrent Sync you should specify shared directories in config file or enable Web UI or API, or enable built-in trackerWhat's the default for this? And how to specify it in the config file? Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted March 30, 2014 Report Share Posted March 30, 2014 Ok,then second hurdle{ "folder_rescan_interval" : 2000000000}To use BitTorrent Sync you should specify shared directories in config file or enable Web UI or API, or enable built-in trackerWhat's the default for this? And how to specify it in the config file? The default folder_rescan_interval value is 600. To specify shared folders in your config file, please see this post. 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.