btsync-cli.php is a command line interface tool for bit torrent sync to adddir, addsyncfolder, removefolder and getsyncfolders.
- PHP with phpcurl
- bit torrent sync
- bit torrent sync config (important! needed webUI-listen, -login, -admin and -password)
php btsync-cli.php <btsync.conf> <action> <data>
adddir:
php btsync-cli.php btsync.conf adddir /home/user/folder
addsyncfolder:
php btsync-cli.php btsync.conf addsyncfolder FOOBARFOOBARFOOBARFOOBAR /home/user/folder
removefolder:
php btsync-cli.php btsync.conf removefolder FOOBARFOOBARFOOBARFOOBAR /home/user/folder
getsyncfolders:
php btsync-cli.php btsync.conf getsyncfolders
- email: lucid.trip[at]mail[dot]ru