/ Published in: Bash
- HOST: remote host
- PORT: ssh port (default 22)
- PATH: remote path to synchronize
Expand |
Embed | Plain Text
rsync -azvv --exclude="*~" --exclude="config.php" -e "ssh -p PORT" . root@HOST:PATH
You need to login to post a comment.
