Export Mongo to text?


Is there a way to export an entire collection, or parts of it, to a .txt file to use for other “offline” related stuff?


You can use mongoexport

Export MongoDB data to CSV, TSV or JSON files.


don’t want to be enjoying, but isn’t there a way to export it specifically to a .txt file?