+ -
当前位置:首页 → 问答吧 → rsync 同时传输多个文件到目标机器???

rsync 同时传输多个文件到目标机器???

时间:2011-03-31

来源:互联网

rsync 同时传输多个文件到目标机器???


rsync -azP a.txt b.txt user@ip:/data/
报错

ERROR: destination must be a directory when copying more than 1 file
rsync error: errors selecting input/output files, dirs (code 3) at main.c(481) [receiver=2.6.8]
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(459) [sender=2.6.8]

作者: top50   发布时间: 2011-03-31

你先确定下ip这台机器上的/data目录到底存在与否。。。

作者: xiaopan3322   发布时间: 2011-03-31

热门下载

更多