/
How to export multiple spaces using Confluence Command Line Interface (CLI)
How to export multiple spaces using Confluence Command Line Interface (CLI)
This article explains how to export multiple spaces using Confluence Command Line Interface (CLI) with a single action.
Instructions
- Create a CSV file with the list of space keys with the file type be exported and file names. Please see the below screenshot for reference:
Write an action with runFromCsv and exportSpace together to export multiple spaces. Please see the example action below:
--action runFromCsv --common "--action exportSpace" --file CLI.csv
This runs the exportSpace action with values from the CSV file and stores data of all spaces into separate zip files.
Export types are XML, HTML, PDF with XML being the default export type.
Related content
How to import multiple spaces using Confluence Command Line Interface (CLI)
How to import multiple spaces using Confluence Command Line Interface (CLI)
More like this
How to copy a space using Confluence Command Line Interface (CLI)
How to copy a space using Confluence Command Line Interface (CLI)
More like this
How to delete spaces in bulk using Confluence Command Line Interface (CLI)
How to delete spaces in bulk using Confluence Command Line Interface (CLI)
More like this
How to import multiple spaces with a sleep value using Confluence Command Line Interface app (CLI)
How to import multiple spaces with a sleep value using Confluence Command Line Interface app (CLI)
More like this
How to export a space or a page to a PDF file using Confluence CLI
How to export a space or a page to a PDF file using Confluence CLI
More like this
How to archive space in confluence using the Confluence Command Line Interface app
How to archive space in confluence using the Confluence Command Line Interface app
More like this