rsync --ignore-missing-args 不起作用

rsync --ignore-missing-args 不起作用

我实际上正在尝试在循环中使用 rsync 来从远程备份目录列表。
我只想忽略 src 目录是否存在。
我从大多数论坛了解到这种方法--ignore-missing-args可行。

但就我的情况而言,rsync给予总是失败no such file or directory

这是我尝试过的命令:

rsync -avl --ignore-errors --ignore-missing-args \
      --rsync-path="sudo rsync"\
      node1.dataqa.flytxt.com:/var/www/cgi-bin \
      /tmp/akhil/82/configurations/node1.dataqa.flytxt.com`

我也添加了--ignore-errors,但是那也不起作用!

错误:

Welcome to Flytxt cluster. Authorized access only. Disconnect IMMEDIATELY if you are not an authorized user !!!
receiving incremental file list
rsync: change_dir "/var/www" failed: No such file or directory (2)

sent 8 bytes  received 78 bytes  172.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1650) [Receiver=3.1.2]
rsync: [Receiver] write error: Broken pipe (32)

相关内容