Automate Confluence Space Export

Just want to share a tool that I wrote for exporting the Confluence space to XML, HTML or PDF file, if you are interested please check this out:

https://www.npmjs.com/package/confluence-space-exporter

Usage: confluence-space-exporter -k [key] -t [type]

Options:
  --help      Show help                                                [boolean]
  --version   Show version number                                      [boolean]
  -k, --key   Confluence space key                                    [required]
  -t, --type  Export file type: xml, html or pdf                      [required]

Examples:
  confluence-space-exporter -k CAP -t xml  Export Confluence space CAP to XML file
# Sample
$ confluence-space-exporter -k CAP -t xml Generating export file for space CAP ... CAP space archiving file download link: https://confluence.jackiechen.org/download/temp/Confluence-space-export-221847-204.xml.zip CAP space download starting time: 2019-10-17 10:18:47 Downloading... status code is: 200 CAP space export file size: 0.01 MB 100.00 % has been downloaded for CAP CAP space download finished! confluence.jackiechen.org-CAP-Confluence_Automation_Poc.xml.zip CAP space download ending time: 2019-10-17 10:18:48

 

1 comment

Heiko Feisel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 5, 2020

Hi,
is it possible to install your script as an executable?
Our Servers have no direct connection to the internet and we are not allowed to install npm.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events