Hi i'm trying to export one of my mongo collection by using this comande line :
mongoexport --host 127.0.0.1 --port 3001 --db meteor --collection subs --out subs.json
but i get this error and i don't understand why because every post use this command and it works for them
2017-11-14T10:23:31.562+0100 E QUERY [thread1] SyntaxError: missing ; before statement @(shell):1:14
mongoexport
must be run from your OS command shell, not in mongo shell.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With