How do I find folders that have no file attachment and delete them in bulk?

Hi, we created a lot of folders that are/won't be used moving forward, how can I find folders with no attachments and delete them? it might be hard to do them manually. Please let us know. 

I am trying to avoid buying/installing an add-on since it takes a long time to get approved.

1 answer

What do you mean "folders"? Do you mean pages with the Attachments macro and no attachments? Then you can use a macro listing user macro to list the pages with that macro and go through them manually and delete the page or the macro.

There might be an SQL method to achieve some level of bulk action, but that is outside my wheelhouse.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

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...

284 views 11 10
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you