Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经阅读了 rsync 的手册页,但仍然无法弄清楚这个要求的标志是什么:
注意:本地主机是windows xp,远程是linux
编辑:我目前正在使用以下标志。
-rltzC --force --delete
我想我找到了...
感谢http://catcode.com
rsync 的 chmod 标志不接受位掩码,而是接受who=permissions格式。
who=permissions
对于我的问题,答案是
--chmod=og=rx
rsync 现在将为远程主机中新同步的文件/目录设置权限 755