Export the list of all attachments as CSV file

Last modified by Anca Luca on 2026/02/26 15:43

cogAdministration tool allowing to export the list of all the attachments of a wiki as a CSV file.
TypeXAR
CategoryOther
Developed by

Anca Luca

Rating
0 Votes
LicenseGNU Lesser General Public License 2.1
Compatibility

Tested on the standard distribution of XWiki, versions 5.4.5 and 6.4.5.

Table of contents

Description

This extension is a small script allowing to export the list of all the attachments of the wiki in a CSV file.
It will install 2 pages in the Admin space, the entry point for the tool being the page ExportAttachmentsAsCSV (note that this page is hidden so you should activate hidden documents or manually type the URL for this page).
It will list attachments from all the pages, including hidden pages.

Warning

No rights verification is done on these pages, it's installer's responsibility to protect any unauthorized users from viewing them (space rights or page rights after installation). Also, please note that the export can be costly from a performance point of view, so it should also be protected against accidental execution (by robots, for example).

Get Connected