| 
rsync /path/to/file.ext /path/to/dest
 | 
简单的复制文件 file.ext到/path/to/dest目录中 |  | 
| 
rsync -n /path/to/file.ext /path/to/dest
 | 
演习模式:简单的复制文件 file.ext到/path/to/dest目录中 |  | 
| 
rsync --size-only /path/to/file.ext /path/to/dest
 | 
简单的复制文件 file.ext到/path/to/dest目录中,仅比较文件大小 |  | 
| 
rsync -r /path/to/folder /path/to/dest
 | 
递归复制文件夹 /path/to/folder到/path/to/dest目录中 |  | 
| 
rsync -r /path/to/folder/ /path/to/dest
 | 
递归复制文件夹 /path/to/folder/中的内容到/path/to/dest目录中 |  | 
| 
rsync -a /path/to/folder/ /path/to/dest
 | 
复制 /path/to/folder/中的内容到/path/to/dest目录中,并保持源属性 |  | 
| 
rsync -av /path/to/folder/ /path/to/dest
 |  | 
| 
rsync -ah --progress /path/to/folder/ /path/to/dest
 |  | 
| 
rsync -ah --progress --partial /path/to/folder/ /path/to/dest
 |  | 
| 
rsync -ahP /path/to/folder/ /path/to/dest
 |  | 
| 
rsync -ahP --delete /path/to/folder/ /path/to/dest
 | 
复制 /path/to/folder/中的内容到/path/to/dest目录中,并保持源属性,如果后者中存在前者中不包含的文件则会被删除 |  | 
| 
rsync -ahP --remove-source-files /path/to/folder/ /path/to/dest
 | 
复制 /path/to/folder/中的内容到/path/to/dest目录中,并保持源属性,复制完成后会移除前者 |  |