MongoExport: Error parsing command line: too many positional options have been specified on the command line

Problem

Error parsing command line: too many positional options have been specified on the command line
try 'mongoexport --help' for more information

 

Solution

query has to be in single quotes

mongoexport .... --query 'YOUR-QUERY'

 

About Neil Rubens

see http://ActiveIntelligence.org

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*