Fixed upload file, this time with rsync.
This commit is contained in:
parent
c7b8bbc37d
commit
5e9eafe19a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue