Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bulk upload new versions of attached files to a page or whole space?

Helen Gosper
Contributor
April 25, 2016

This question is in reference to Atlassian Documentation: Manage Files

Is there a solution that allows me to either bulk upload new versions of attached files (specifically images) to a page, or even to bulk replace within an entire space? I'm using Confluence Server 5.8.5 but am also asking the question in relation to Confluence Cloud. Thanks.

2 answers

1 accepted

0 votes
Answer accepted
Rachel Robins
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 27, 2016

Hi Helen, Confluence itself has no bulk actions for files.   However, if the filenames for the images are the same as the existing, attached ones, you could bulk replace them on a page by page basis (either by going to the Attachments page and dragging multiple files in, or in the Files dialog in the editor - if you do it in the editor, the changes won't be reflected until you save the page - it catches me out every time!). 

If the filename is different unfortunately you'll need to replace the files one by one in the file preview (or in the editor). 

Bob Swift's CLI solution may provide a way to automate this - I have used it for doing other bulk operations, including bulk deleting files, but not for replacing them. https://marketplace.atlassian.com/plugins/org.swift.confluence.cli/cloud/overview

TomC
Community Champion
April 27, 2016

I can verify from a customer experience that the dragging of multiple files to the Attachments section of a page works great, and as Rachel alludes to, they will version if the same file name is kept for each updated file.

I don't know the limit of how many files can be dragged in at one time but I think its quite a few (we haven't found the limit yet).

Helen Gosper
Contributor
April 27, 2016

Thanks @Rachel Robbins, although I was hoping there would be something more global than this, your suggestion will help. Luckily, I;m pretty rigorous with my file naming conventions (mostly), so will just be a case of plodding through a few pages.

Rodney Hughes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 27, 2016

@Helen Gosper  I'm a bit confused - exactly what "bulk operations" do you need to do as "more global"?

Helen Gosper
Contributor
April 27, 2016

@Rodney Hughes I was thinking of replacing images on several pages at once. But I'm familiar with dragging files to update so that will be fine.

0 votes
Rodney Hughes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 27, 2016

For a page, click the ellipsis (the three dot icon top right)

select Attachments

Now open your PC file browser window so you can see both Confluence and the browser windows

In the Browser window, select all the files you want to upload, then just drag and drop into the Confluence drop zone - they will load sequentially

If the files you upload have EXACTLY The same file name as an existing file, the old file on Confluence is automatically "archived" as an earlier version reference.
If the main body page has an embedded link to that attachment, that link is always retained as the link to the latest version
You can see the different versions via the ellipsis>Attachments and click the chevron at the left of the file name

If your main page has the Attachment macro embedded, you can do the same thing as above directly without using the ellipsis>Attachments step

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events