时间: 2013-09-26 / 分类: / 浏览次数: 10 次 /

发现个好东西,BitTorrent Sync,用来做批量部署很爽.

手册:http://btsync.s3-website-us-east-1.amazonaws.com/BitTorrentSyncUserGuide.pdf
linux-x64:http://btsync.s3-website-us-east-1.amazonaws.com/btsync_x64.tar.gz
下载解压运行./btsync
运行之后,软件切换到后台运行
管理方式:
1.web管理页面:

2.命令行CLI

[root@ghost-rider tmp]# ./btsync --help

BitTorrent Sync 1.1.48

Usage:

btsync [--config ] [--nodaemon] [--generate-secret] [--dump-sample-config] [--help] [--get-ro-secret ]

Options:

--config - location and name of configuration file

--nodaemon - do not use daemon mode

--generate-secret - generate shared secret

--get-ro-secret - get read only secret for existing master secret

--dump-sample-config - dump sample config file

--help - print this message and exit

./btsync --dump-sample-config > sync.conf

./btsync --config sync.conf

高级参数:

“disk_low_priority”: true

“max_le_size_for_versioning”: 1000
“folder_rescan_interval”: 600
“rate_limit_local_peers”: false
“lan_encrypt_data”: true
“sync_max_time_diff”: 600
“lan_use_tcp”: false
“sync_trash_ttl”: 30
“max_le_size_diff_for_patching”: 1000