From fae4e6992e55b21361c148b7789a19d63ba5f977 Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Fri, 10 Jul 2020 16:34:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E9=99=A4=E8=AD=A6=E5=91=8A.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- Software/Applications/Rsync/Rsync_的使用.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Software/Applications/Rsync/Rsync_的使用.md b/Software/Applications/Rsync/Rsync_的使用.md index ce8d626..870a85a 100644 --- a/Software/Applications/Rsync/Rsync_的使用.md +++ b/Software/Applications/Rsync/Rsync_的使用.md @@ -42,27 +42,27 @@ rsync -arlP 带压缩的拷贝 ```bash -rsync -avzrlP +rsync -avzzrlP ``` 远程拷贝 ```bash -rsync -avzrlP @: +rsync -avzzrlP @: # 或 -rsync -avzrlP @: +rsync -avzzrlP @: # 或 -rsync -avzrlP -e 'ssh -p ' @: +rsync -avzzrlP -e 'ssh -p ' @: ``` 排除文件或目录 ```bash -rsync -avzrlP @: --exclude --exclude +rsync -avzzrlP @: --exclude --exclude ``` 同步后删除源文件,相当于移动文件操作(不影响目录) ```bash -rsync -avzrlP --remove-source-files +rsync -avzzrlP --remove-source-files ```