X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=physical.git;a=blobdiff_plain;f=repository%20handling%20tools%2Fupdate%20web%20site;fp=repository%20handling%20tools%2Fupdate%20web%20site;h=3c33d49bea732098ca25fe757f1f68fa8e10d8e7;hp=0000000000000000000000000000000000000000;hb=64a9a1e7f550e06574b644bf35fa1b6dfdede4d8;hpb=0e8c97e43a9c88ff1250d8bde556ce4cbebd69a9 diff --git a/repository handling tools/update web site b/repository handling tools/update web site new file mode 100755 index 0000000..3c33d49 --- /dev/null +++ b/repository handling tools/update web site @@ -0,0 +1,17 @@ +#!/bin/bash + +# I use this script to update project website. + +cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi; + +cd .. + +rsync -avz --delete -e 'ssh -p 10006' ./ \ + --exclude="tools/" \ + --exclude=".git/" \ + n0@www3.svjatoslav.eu:/mnt/big/projects/physical/ + + +echo "" +echo "Press ENTER to close this window." +read