Created
February 7, 2014 14:03
-
-
Save dublado/8863118 to your computer and use it in GitHub Desktop.
mongo export json to csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mongoexport --port _PORT_ --csv --username oppa --password _PASSWORD_ --collection _COLLECTION_ --db _DB_ --fields create_at,email,subject,body,order --forceTableScan --out /tmp/emails.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment