Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- 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