diff --git a/upload.sh b/upload.sh index 0c06b5b..82452bb 100755 --- a/upload.sh +++ b/upload.sh @@ -1,3 +1,9 @@ #!/usr/bin/env bash -scp -r * root@andrewlalis.com:/var/www/andrewlalis.com/html +# Helper script that copies files to the server. +# You need to have authenticated access to the server via SSH to use this. + +rsync -rav -e ssh \ +--exclude .git/ --exclude *.sh --exclude README.md \ +./ \ +root@andrewlalis.com:/var/www/andrewlalis.com/html