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