From d10b1bd83b5467828f9ee8619093dec1dc6cd441 Mon Sep 17 00:00:00 2001 From: stev Date: Wed, 22 Feb 2023 01:16:45 +0100 Subject: [PATCH] add sync all feature to gmirator --- gmirator.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gmirator.sh b/gmirator.sh index 9f84eab..2d7828c 100755 --- a/gmirator.sh +++ b/gmirator.sh @@ -114,6 +114,10 @@ synchronise() { elif [[ $PARAM == "gmi" ]]; then echo "Synchtonising GMI content with remote" rsync -aP -e "ssh -p 1312" $LGMI $RGMI + else + echo "Synchtonising GMI and HTML content with remote" + rsync -aP -e "ssh -p 1312" $LHTML $RHTML + rsync -aP -e "ssh -p 1312" $LGMI $RGMI fi }