发现个好东西,BitTorrent Sync,用来做批量部署很爽.
手册:http://btsync.s3-website-us-east-1.amazonaws.com/BitTorrentSyncUserGuide.pdflinux-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