Export hierarchical list of files & folders

Is there a way to export a full list of files and folders within a database without exporting the actual files to an external folder? Ideally, something like the terminal command ```



Under the Scripts/Export menu, there is “Listing…”, which exports the a full list/tree of all the files and folders inside the the active DB, as a .txt file.
Alternatively, one could also (under the same menu) export the metadata of the selected items as a .CSV file.

That could be a starting point? Granted, this doesn’t get you to OPML/HTML – but maybe someone has further suggestions regarding the latter (which would be a very nice addition!)?

Thanks – that is useful but indeed, an opml output would be fantastic.