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
257 B

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