Download folder backup
In case you have an established folder organization right under WordPress media library, and you want to keep a record, you can use the Backup and Restore tool.

Here’s what your backup file might look like. Depending on your number of files and folders, the number of attachments can be huge.
Manage folder backup file
If the User-Based Folders mode is ON, each user will be assigned to a specific ID. Hence, in the CSV backup file, the “created_by” column will show the first admin as “1” and so on.
If you want to have a global folder structure where everyone sees the same categorization, you can modify the “created_by” values into zero.
And then you can reimport this file to apply the changes. As a result, all folders are now common folders.