/
How to move a page to a new space in the same instance using Confluence CLI
How to move a page to a new space in the same instance using Confluence CLI
This article explains how to move a page to a new space in the same instance using the Confluence Command Line Interface (CLI) app.
Instructions
Use the movePage action to move the page to a new space in the same instance. For this example, consider a sample space with the page title as A01_page1 as follows:
- Ensure that the CLI client file is updated with the required information.
Run the following CLI action to copy the page to a new space, GT:
--action movePage --space "COMM" --title "A01_page1" --newSpace "GT"
For this example, the output of the action is as follows:
Page 'A01_page1' moved to space GT.
The parameters used with the above action are:
- --space value refers to space key.
- --title value refers to the page title.
- --newSpace value refers to the target space key.
It is recommended to test the commands in a non-production environment or run the action with the --simulate parameter to verify the behaviour before deploying.
, multiple selections available,
Related content
movePage
Read with this
Examples
Read with this
How to copy space between two different Confluence instances
How to copy space between two different Confluence instances
Read with this
CLI Client Installation and Use
CLI Client Installation and Use
Read with this
Comala Document Management Server and Datacenter | How to 'bulk move' all confluence pages from one space to another space in the same Confluence instance.
Comala Document Management Server and Datacenter | How to 'bulk move' all confluence pages from one space to another space in the same Confluence instance.
More like this
Get started
Get started
More like this