diff --git a/sync_to_stdb.sh b/sync_to_stdb.sh new file mode 100755 index 0000000..6ca3cf5 --- /dev/null +++ b/sync_to_stdb.sh @@ -0,0 +1,9 @@ +#!/bin/sh +RUSER=sipp11 +RHOST=expert.traffy.xyz +PORT=22 +RPATH=/opt/stdb-web/stdb +LPATH=./ +rsync -avu -e "ssh -p $PORT" $LPATH $RUSER@$RHOST:$RPATH \ +--exclude=node_modules --exclude=.git \ +--exclude=*.sh --exclude=.DS_Store