Created
February 19, 2016 10:12
-
-
Save petruisfan/c9e1f3f96e8b84ea741c to your computer and use it in GitHub Desktop.
Parse parameters to mongo script from shell
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
mongo "localhost:27017/metascan" --eval \ | |
"var start='${START}', stop='${STOP}', thread=2, threads=${THREADS}, verbose=${VERBOSE}" \ | |
mcl-mongo-hashgen.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment