Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to export the space as well as a specific page using the Bobswifts Bobswift's Confluence Command Line Interface.

Instructions

Exporting a space

Use the below command to export a space including all the pages(along with subpages) to a single PDF:

...

Use the below command to export a specific page including all the pages(along with subpages) in space to a single PDF:

Code Block
--action exportSpace --space SRS --title "demo" --file "export.pdf" --exportType "PDF"


The parameters and actions used with in the above actions commands are:

  • --exportSpace action indicates exporting space to a file.

  • --space value refers to the space key.

  • --title value refers to the page title.

  • --file refers Path/name to file of result output.

  • --exportType indicates the type of pages export should be in.--exportSpace action indicates exporting space to a file.

  • “demo“ and “SRS“ is the name of the parent page and space that will be exported respectively.

  • “export.pdf” is the name of the pdf file to which the file will be exported.

...