head -n 1 kopano2grommunio.sh
cb@asterix ~ % wget https://raw.githubusercontent.com/grommunio/gromox/master/tools/kopano2grommunio.sh
--2023-06-05 16:52:22-- https://raw.githubusercontent.com/grommunio/gromox/master/tools/kopano2grommunio.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8003::154, 2606:50c0:8001::154, 2606:50c0:8000::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8003::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22697 (22K) [text/plain]
Saving to: ‘kopano2grommunio.sh’
kopano2grommunio.sh 100%[=========================================================================================>] 22.17K --.-KB/s in 0.001s
2023-06-05 16:52:22 (32.8 MB/s) - ‘kopano2grommunio.sh’ saved [22697/22697]
cb@asterix ~ % sh kopano2grommunio.sh
kopano2grommunio.sh: 261: Syntax error: Bad function name
Kill ssh-agent in ERROR TRAP!
kopano2grommunio.sh: 252: [[: not found
2 cb@asterix ~ % bash kopano2grommunio.sh
Kopano 2 grommunio migration start
mkdir: cannot create directory ‘/mnt/kopano/’: Permission denied
Create mount directory /mnt/kopano/
Mount attachment directory: /mnt/kopano/
Please Enter Public Server Key Pass Phrase in next Line
kill: No such process
^CKill ssh-agent in ERROR TRAP!
kill: No such process
^C
130 cb@asterix ~ % :(
Die fehler nach "Kopano 2 grommunio migration start" kann man ignorieren weil das war hier lokal...
Probiers mal mit
chmod +x kopano2grommunio.sh
./kopano2grommunio.sh