指定远程端口.

Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
ithink.chan 2019-12-25 10:43:55 +08:00
parent d8c0df42b3
commit 8e67fcc087
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ rsync -avzrlP <src> <dst>
rsync -avzrlP <file> <usrname>@<IP>:<path & name> rsync -avzrlP <file> <usrname>@<IP>:<path & name>
# 或 # 或
rsync -avzrlP <usrname>@<IP>:<path & name> <file> rsync -avzrlP <usrname>@<IP>:<path & name> <file>
# 或
rsync -avzrlP -e 'ssh -p <port>' <usrname>@<IP>:<path & name> <file>
``` ```
排除文件或目录 排除文件或目录