Console Application for BitTorrent SyncApp WebUI written in Go Alpha version. Tested against 1.0.116.
- add folder to sync folders (with empty or predefined secret)
- remove folder from sync folders
- list all sync folders
- generate secret (with readonly secret)
Usage of btsync-cli:
-a="": absolute path to add for index (-r for relative path support)
-d="": absolute path to delete from index (-r for relative path support)
-g=false: get new secret
-host="127.0.0.1": btsync webui hostname
-l=false: list folders
-p="password": password
-port="8888": btsync webui port
-r=false: resolve relative path (for -a and -d)
-s="": secret, if empty will be autogenerated
-u="admin": username
-v=false: verbose mode on
- delete folder always returns true
- russian utf-8 names are in win-1252 encoding (via -l)
cd ~btsync-cli
export GOPATH=`pwd`
export GOARM=5
/opt/go/bin/go build src/btsync-cli.go
./btsync-cli -h
v0.2
- -r flag for relative path on server
- tests