From de1484b4e5fb3241c20c7c0a9963d86accecd19a Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 17 Feb 2020 19:19:58 +0100 Subject: [PATCH] added copyfile --- emulator/gnt-cluster | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emulator/gnt-cluster b/emulator/gnt-cluster index 7c79eea..4b4a6e0 100755 --- a/emulator/gnt-cluster +++ b/emulator/gnt-cluster @@ -18,6 +18,12 @@ if [ "$op" = "command" ] ; then ssh $host $* | sed "s/^/$prefix/" done + +elif [ "$op" = "copyfile" ] ; then + + scp $1 lib10:$1 + scp $1 lib20:$1 + else echo "UNKNOWN [$op] $*" exit 1 -- 2.20.1