Created
June 4, 2014 22:22
-
-
Save maxclaus/18862fe03e65ff29f68b to your computer and use it in GitHub Desktop.
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 --collection collectioname --db databasename --out /tmp/output | |
mongoimport --collection collectioname --db databasename --file /tmp/list-to-import.json --jsonArray --stopOnError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment