summaryrefslogtreecommitdiff
path: root/sync.sh
blob: 01c8d21988810a071d5833d303a3bf692a9889fe (plain)
1
2
3
4
5
#!/bin/bash

rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -z -e ssh ./html/ cheetah:/srv/www/davidovski/html
ssh -t cheetah "ln -s /srv/shared/site/* /srv/www/davidovski/html/"
# git push # push after everything to keep it all backed up