Browse files

Importing these files into MongoDB with a shell script

Batch importer to speed this process up. Now just one command to
transpose the whole database to Mongo for front-end querying.
  • Loading branch information...
1 parent 9dad881 commit 6df9bba16e07ceac4181e53f978baa9f801eb555 @davidgolding davidgolding committed Mar 10, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 import/
@@ -0,0 +1,6 @@
+for f in $*
+ mongoimport --db mormon-missionaries --collection missionaries --file $f
+ echo "Imported: $f"

0 comments on commit 6df9bba

Please sign in to comment.