From c501b3255495c22bd3237adab9d42ff5e7307705 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Tue, 27 Mar 2018 12:56:04 +0300 Subject: [PATCH] added web site update script --- tools/update web site | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 tools/update web site diff --git a/tools/update web site b/tools/update web site new file mode 100755 index 0000000..ddc6eaa --- /dev/null +++ b/tools/update web site @@ -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 -- 2.20.1