Browse Source

Add sync script

pull/1/head
sipp11 8 years ago
parent
commit
a0dd086d8a
  1. 9
      sync_to_stdb.sh

9
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
Loading…
Cancel
Save