Mongoexport -q ISODate query
问题 I'm trying to run this: mongoexport.exe -h *MYHOST* -p *MYPORT* -q "{'time':{'$gte': ISODate('2014-12-21 12:57:00.506Z'),'$lt': ISODate('2014-12-21 12:59:00.506Z')}}" Or this(the gte & lt without - ' ): mongoexport.exe -h *MYHOST* -p *MYPORT* -q {'time':{$gte: ISODate('2014-12-21 12:57:00.506Z'),$lt: ISODate('2014-12-21 12:59:00.506Z')}} The query works fine on Robomongo, But with mongoexport it throws: "too many positional arguments" I know I can run the following instead, But I don't want