From: Svjatoslav Agejenko Date: Tue, 27 Mar 2018 09:56:04 +0000 (+0300) Subject: added web site update script X-Git-Tag: svjatoslavcommons-1.8~32 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=c501b3255495c22bd3237adab9d42ff5e7307705;p=svjatoslav_commons.git added web site update script --- 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