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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.