I've modified mongoimport.sh to only run mongoimport once, and all the CSV files are piped in. Makes it quite a bit faster, especially with lots of small files.
I've also added some comments about how to run it, and enabled it to be run from another directory (by tracking down where the script is, and loading the .ff file from there).
I've modified mongoimport.sh to only run mongoimport once, and all the CSV files are piped in. Makes it quite a bit faster, especially with lots of small files.
I've also added some comments about how to run it, and enabled it to be run from another directory (by tracking down where the script is, and loading the .ff file from there).