bash script to import data to mongo code example
Example: how to import a file from ones directory into mongodb
mongoimport --db test --collection inventory ^
--authenticationDatabase admin --username --password ^
--drop --file ~\downloads\inventory.crud.json