This file contains hidden or 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
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 |