I have a large MongoDB of word documents and PDFs which I would like to save from the DB to my computer, retaining the directory structure if possible.
The website who stored these files and folders provided a MongoDB dump. I am completely new to this and am learning as I go. I have installed the MongoDB on Ubuntu, used Mongorestore to add the dumped files (fs.chunks.bson, fs.files etc.) to this local database and I can see the collection in Compass.
I would appreciate any thoughts on how to get the Docs/PDFs etc. onto my hard disk so I can open and view them in their respective applications. Retaining the folder struction as it was on the website is vital, if that is possible.