It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how can I find pages with the same name in two different spaces?

Mick Davidson Sep 01, 2012

We're moving the entire content of several spaces into another sapce.

When I do this, I keep getting errors to do wth duplicate pages names. However, unhelpfully Confluence doesn't say which names are duplicated. This means the only way to find out what the duplicates are, is to do it manually.

Which is a ridiculously time consuming thing to do, especially when each space that's being moved has 100s of pages.

Does anyone know how I can do find out what these duplicates are?


2 answers

1 accepted

2 votes
Answer accepted

Hallo Mick

I've written a couple of Python scripts to do this.

  • – Accesses Confluence via the remote API, and lists all the pages in a given set of Confluence spaces. It puts the page names and space keys into a text file in the format required by the pageduptest script.
  • – Checks a text file for duplicate page names, and spits out the offending page names and space keys.

Details here:

Cheers, Sarah

Mick Davidson Sep 02, 2012


thanks for the info, I've passed it on to our man who can. :)

Jaskirat Baweja Jun 18, 2013

Very useful indeed.

I don't know how to do it easily, but you could use getPageList from Confluence Command Line Interface on both spaces to at least visually see differences and duplicates in the 2 lists. You will need the latest snapshot to get the result ordered by page title.

Mick Davidson Sep 02, 2012


thanks for the idea, but that would mean visually comparing the content of three different spaces, which I'm certainly not going to do. :)

Apparently the API can be used to do this, but I've no idea how to, and at 2130 on Sunday evening, I'm not about to try finding out how. :)


Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

2,538 views 11 28
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you