From 98ab535e30b0dd1b8cc8dcc4e869de8a6d5ef2c4 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Sun, 1 Dec 2019 11:50:46 +0200 Subject: [PATCH] script to update web site --- tools/update web site | 14 ++++++++++++++ 1 file changed, 14 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..282c556 --- /dev/null +++ b/tools/update web site @@ -0,0 +1,14 @@ +#!/bin/bash +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 -- 2.20.1