我一直在用这个打墙,我不完全确定问题是什么 . 我将发布两个例子,说明我正在尝试做一个有效的,一个没有,不幸的是我需要后者才能工作 .

The Error:

意外的本地arg:/ data /如果arg是远程文件/目录,则在其前面加上冒号(:) . rsync错误:main.c上的语法或用法错误(代码1)(1215)[receiver = 3.0.6]

This Command executes without issues, however it seems that it does not fully rsync my /data directory.

rsync -e“ssh -e'none'” - force -azPxvIh --delete-after --exclude-from =“/ tmp / exclude.txt”root @ myserver:/ />“/ tmp /wetrun.txt “

This is the command I've been trying utilize to rsync my /data directory and seems to fail.

rsync -e“ssh -e'none'” - force -azPxvIh --delete-after --exclude-from =“/ tmp / exclude.txt”root @ myserver:/ data / / data />“/ tmp /wetrun.txt”