Hello,
i want to export a space over the console on linux:
this is the script:
#!/bin/bash
# Change the version and spaceKeys
set oldVersion=23
set releaseVersion=24
set plannedVersion=25
# define spaceKeys in confluence
set spaceKey=INSPECTIT
set oldSpaceKey=%spaceKey%%oldVersion%
set releaseSpaceKey=%spaceKey%%releaseVersion%
set newSpaceKey=%spaceKey%%plannedVersion%
select confluence --server http://XYZ--user admin --password XYZ --action exportSpace --space %spaceKey% --file /root/%spaceKey%.zip
output on console:
./exportspacelinux.sh: line 20: syntax error near unexpected token `--server'
./exportspacelinux.sh: line 20: `select confluence --server 'http://XYZ' --user admin --password XYZ --action exportSpace --space %spaceKey% --file /root/%spaceKey%.zip'
Can somebody say what is wrong?
Best regards
Toni
Sorry for asking in a this old thread, but what was the solution? I have the same error :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.