add sync all feature to gmirator
This commit is contained in:
parent
18c10bc30f
commit
d10b1bd83b
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue