Guest User

Untitled

a guest
Dec 10th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. ls -1 *.csv | while read csvfile; do mongoimport --db=tp --collection=quarters --type=tsv --mode insert --columnsHaveTypes --fieldFile=q_fieldNames.txt --numInsertionWorkers 8 --file $csvfile; done
  2.  
  3. Note: fieldfile is in the directory to be uploaded and command copied and pasted and executed from the commandline when in the directory
Add Comment
Please, Sign In to add comment