You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
266 B

#!/bin/sh
RUSER=sipp11
#RHOST=do3
RHOST=bb-aws-micro-1
PORT=22
RPATH=/opt/www/10ninox_blog
LPATH=./_site/
rsync -avu -e "ssh -p $PORT" $LPATH $RUSER@$RHOST:$RPATH \
--exclude=.DS_Store --exclude=sync_ec2.sh --exclude=*.pyc \
--exclude=migrations --exclude=scripts