1
xiaket 2017 年 3 月 9 日
use rsync and retry till the exit code is 0.
|
2
beric OP @xiaket 想问一下这样做是为了防止连接被断开?想知道连接了 10s 就断开是什么原因(客户端网络?系统 KILL 掉?),有没有一个跟踪思路呢?谢谢
|
3
goodryb 2017 年 3 月 9 日
这种为何不用 rsync
|
5
RealLiuSha 2017 年 3 月 9 日
nohup $command > $PATH/$LOG_FILE 2>&1 &
|
6
artandlol 2017 年 3 月 9 日
你用的应该不是 centos
过程输出到 /dev/null |
7
tolerance 2017 年 3 月 9 日
set timeout 60
|
8
beric OP 手动执行没问题,加了&后台执行也会出现断掉的情况
|
10
floopy 2017 年 3 月 9 日
1. expect 时你是否检查了 scp 进度。
2.rsync |