Created
September 17, 2019 17:17
-
-
Save valter-jnr/1c2e5b94da08d7ee3968aeaa000774de to your computer and use it in GitHub Desktop.
Import CVS / TSV to mongo
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
tr ";" "\t" < /Users/admin/Desktop/NCM.csv | mongoimport --uri mongodb+srv://sigaProdServices:12SjJoTmpCxhuqMb@sigacluster0-9ifpv.mongodb.net/sigaProd --collection ncm --type tsv --headerline --drop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment