rsync - 客户端其他参数
# --delete
# This tells rsync to delete extraneous files from the receiving side (ones that aren't on the sending side), but only for the directories that are being synchronized. You must have asked rsync to send the whole directory (e.g. "dir" or "dir/") without using a wildcard for the directory's contents (e.g. "dir/*") since the wildcard is expanded by the shell and rsync thus gets a request to transfer individual files, not the files' parent directory. Files that are excluded from the transfer are also excluded from being deleted unless you use the --delete-excluded option or mark the rules as only matching on the sending side (see the include/exclude modifiers in the FILTER RULES section).
# 该选项通知rsync从接收端删除额外的文件(在发送端没有的文件)。但是仅限于被同步的文件夹。由于通配符由shell扩展而且rsync将请求传输独 立的文档而不是文件的父文件夹因此要求rsync发送完整的文件夹(例如“dir”或“dir/”)而不是通过通配符获取文件夹的内容(例如“dir /*”)。在传输入被排除的文件也被排除删除,除非使用--delete-excluded选项或标记规则仅在发送端匹配(参见过滤规则部分的包含/排除 修饰符)。
# --password-file
# This option allows you to provide a password in a file for accessing an rsync daemon. The file must not be world readable. It should contain just the password as a single line.
# 该选项允许在一个文件中提供一个密码来访问一个rsync守护进程,该文件必须禁止所有用户可读。应该仅包含一行密码。
[rsync - 官方网站]
[rsync - 关键词]
rsync
rsyncd
[rsync - 相关问题]
全局部分中常用全局参数配置说明
全局部分中常用模块参数配置说明
模块常用配置说明
认证相关参数配置说明
客户端常用参数
客户端其他参数
for Windows (cygwin)
远程shell模式和rsync守护进程模式
22.6. File Synchronization. Building Internet Firewalls, 2nd Edition
Hack 92 Mirroring Web Sites with wget and rsync. Spidering Hacks
Linux Security Cookbook - Recipe 1.16 Integrity Checking with rsync
Linux Security Cookbook - Recipe 1.6 Remote Integrity Checking
Linux Security Cookbook - Recipe 6.3 Copying Files Remotely
正确设置gid参数