#! /bin/bash # 2013, Chandrasekhar Ramakrishnan SCRIPT="$0" BINDIR="${SCRIPT%/*}" LINK="`readlink $0`" while [ -n "${LINK}" ]; do if [ "${LINK#/}" = "${LINK}" ]; then SCRIPT="${BINDIR}/${LINK}" else SCRIPT="${LINK}" fi LINK="`readlink ${SCRIPT}`" done #CONFLUENCE_CLI_ROOT="`dirname ${SCRIPT}`" CONFLUENCE_CLI_ROOT="/usr/local/cisd/confluence_cli" OPENBIS_PAGE=openBIS SNAPSHOT_SPACE=openBISDoc1304 source ${CONFLUENCE_CLI_ROOT}/wiki.conf # List children of the openBIS documentation ${CONFLUENCE_CLI_ROOT}/confluence --server https://wiki-bsse.ethz.ch --user ${USER} --password ${PASSWD} --space ${SNAPSHOT_SPACE} --title ${OPENBIS_PAGE} --descendents --action getPageList #${CONFLUENCE_CLI_ROOT}/confluence --server https://wiki-bsse.ethz.ch --user ${USER} --password ${PASSWD} --space ${SNAPSHOT_SPACE} --title ${OPENBIS_PAGE} --action getPageSource