Created
May 29, 2020 20:24
-
-
Save joshcass/4a485e2b395367e6357ac93f3c5ce2d1 to your computer and use it in GitHub Desktop.
Shell script example
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
FILES=/tmp/collections/* | |
for f in $FILES; do | |
mongoimport --db "database_name" --file $f | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment