rsync同步时提示错误:password-fileoptionmayonlybeusedwhenaccessinganrsyncdaemon.
(2018-07-14 12:50:11)| 分类: 我的研究 |
The --password-file option may only be used when accessing an
rsync daemon.
rsync error: syntax or usage error (code 1) at main.c(1238)
[sender=3.0.6]
看了很多文章,说是密码文件的权限问题,或者是因为在服务端进行了推送,其实还有一个原因会造成这个错误。
那就是在模块前面少了个冒号:,模块前面是2个冒号::。
加上去就好了,

加载中…