Guest User

Untitled

a guest
Jul 23rd, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. # set some vars
  4. SERVER_PATH="/my/dir/on/server/"
  5.  
  6. # upload everything except for the git-dir and this file!
  7. rsync -rav -e ssh --exclude='*.git' --exclude="deploy.sh" . $SERVER:$SERVER_PATH/
Add Comment
Please, Sign In to add comment