added web site update script
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Tue, 27 Mar 2018 09:56:04 +0000 (12:56 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Tue, 27 Mar 2018 09:56:04 +0000 (12:56 +0300)
tools/update web site [new file with mode: 0755]

diff --git a/tools/update web site b/tools/update web site
new file mode 100755 (executable)
index 0000000..ddc6eaa
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi
+
+cd "${0%/*}"
+cd ..
+
+rsync -avz --delete  -e 'ssh -p 10006' doc/ n0@www3.svjatoslav.eu:/mnt/big/projects/svjatoslav_commons/
+
+echo
+echo "Press ENTER to close this terminal"
+read