Posted By

Dorgendubal on 02/28/09


Tagged

Bash rsync ssh


Versions (?)

updating remote website using ssh


 / Published in: Bash
 

  • HOST: remote host
  • PORT: ssh port (default 22)
  • PATH: remote path to synchronize
  1. rsync -azvv --exclude="*~" --exclude="config.php" -e "ssh -p PORT" . root@HOST:PATH

Report this snippet  

You need to login to post a comment.