Changed license to CC0
[physical.git] / repository handling tools / update web site
diff --git a/repository handling tools/update web site b/repository handling tools/update web site
new file mode 100755 (executable)
index 0000000..3c33d49
--- /dev/null
@@ -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