ramontayag Posted September 25, 2013 Report Share Posted September 25, 2013 I've been able to set up btsync on Linux. To add new folders, I have to create the folder first through SSH, and _then_ adding the folder through the WebUI. Is there a way to create the directory through the WebUI? Quote Link to comment Share on other sites More sharing options...
vadimt Posted September 25, 2013 Report Share Posted September 25, 2013 There is no such possibility in the current versions.We are planning to solve this issue in the next versions.Thanks! Quote Link to comment Share on other sites More sharing options...
Doc Green Posted September 25, 2013 Report Share Posted September 25, 2013 Because this is a lacking feature I came up with a script solution which monitors the log file. Whenever the statement "addsyncfolder" occurs, the script tests the existence of this folder, if it does not it will create it. Basically you can only create folders this way, but you cannot delete them. But for testing purposes it is enough and it is somewhat conivient. It is not a nice solution but works quite well for now.#!/bin/bash tail -f /home/Sync/.sync/sync.log| while read line; do echo $line |grep addsyncfolder > /dev/null 2>&1 if [[ $? == 0 ]] ; then NEWDIR=`echo $line|grep -o addsyncfolder\&name.*secret `; NEWDIR=`echo $NEWDIR|sed -e 's/addsyncfolder\&name=//g'| sed -e 's/%2F/\//g'|sed -e 's/\&secret//g'`; if [[ ! -e /home/Sync/$NEWDIR ]] ; then mkdir /home/Sync/$NEWDIR fi fi doneMaybe it can help you too.So longDoc Green 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.