Don’t see any error in your output You have not separated the multiple mongoimport commands Use (“;” or ", " or “&&”) to separate commands and see if it works