强调不影响目录.

Signed-off-by: lion.chan <cy187lion@sina.com>
This commit is contained in:
lion.chan 2020-07-10 06:59:57 +08:00
parent bf3fcda08f
commit c62d735341
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ rsync -avzrlP -e 'ssh -p <port>' <usrname>@<IP>:<path & name> <file>
rsync -avzrlP <usrname>@<IP>:<path & name> --exclude <exclude file1> --exclude <exclude fileN> <file> rsync -avzrlP <usrname>@<IP>:<path & name> --exclude <exclude file1> --exclude <exclude fileN> <file>
``` ```
同步后删除源文件,相当于移动操作 同步后删除源文件,相当于移动文件操作(不影响目录)
```bash ```bash
rsync -avzrlP --remove-source-files <src> <dest> rsync -avzrlP --remove-source-files <src> <dest>