we use a space template with default pages and hierarchy but also comments were added to the space. Now we would like to copy the entire space but without comments.
I found the Confluence Command Line Interface but we don't know how we can define that comments are not needed.
Thanks in advance!
can I have +1 question?
I never used CLI before, can you please review whether this code is correct?
@echo off rem remember the directory path to this bat file set dirPath=%~dp0 rem need to reverse windows names to posix names by changing \ to / set dirPath=%dirPath:\=/% rem remove blank at end of string set dirPath=%dirPath:~0,-1% rem - Customize for your installation, for instance you might want to add default parameters like the following: rem java -jar "%dirPath%"/lib/confluence-cli-2.5.0.jar --server http://my-server --user automation --password automation %* java -jar http://<MY_CONFLUENCE> confluence --action copySpace --space "<SPACEKEY1>" --newSpace "<SPACEKEY2>" rem Exit with the correct error level. EXIT /B %ERRORLEVEL%
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs