Skip to content

Instantly share code, notes, and snippets.

@deostroll
Last active August 29, 2015 14:27
Show Gist options
  • Save deostroll/b2c3de2205d32d44e1de to your computer and use it in GitHub Desktop.
Save deostroll/b2c3de2205d32d44e1de to your computer and use it in GitHub Desktop.
PS C:\> & 'C:\Program Files\MongoDB\Server\3.0\bin\mongoimport.exe' --db test --collection restaurants --drop --file C:\users\admin01\Downloads\primer-dataset.json
2015-08-18T12:54:07.490+0530 connected to: localhost
2015-08-18T12:54:07.492+0530 dropping: test.restaurants
2015-08-18T12:54:07.657+0530 Failed: error processing document #1: invalid character 'ï' looking for beginning of value
2015-08-18T12:54:07.658+0530 imported 0 documents
PS C:\>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment