Versions Compared

Key

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

This article explains how to get all the URLs that are in the confluence page content in bulk using the Confluence Command Line Interface app.

...

To get all the URLs from the pages to a file using runFromPageList, getSource actions.

The parameters used in the below action are:

  1. space: Name of the space. In this case, @all represents all spaces in 
  2. clearFileBeforeAppend: This option will automatically clear an existing file on the first append requested.
  3. id: ids of pages. In this case, it searches for all the pages in the spaces using @pageId@
  4. file: Path/name to file of result output.
  5. findReplaceRegex: The regex pattern used to match the patterns of the links.
  6. special: Characters used for specialized processing of some specific parameters.
  7. append: The append will append output to the existing file.


Execute the below command to get all the links that are in pages from all the spaces of a confluence instance.

...