/ Published in: Bash
* _HOST_: remote host
* _PORT_: ssh port (default 22)
* _PATH_: remote path to synchronize
* _PORT_: ssh port (default 22)
* _PATH_: remote path to synchronize
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
rsync -azvv --exclude="*~" --exclude="config.php" -e "ssh -p PORT" . root@HOST:PATH