MongoExport with query

Hi @Ezi welcome to the community!

This is a common issue in Windows, since cmd doesn’t recognize single quotes as delimiters, unlike Linux.

Could you try switching your quotes around (single quotes to double quotes and vice versa) like this and see if it works?

-q="{ 'CreatedOnUtc': { '$lt': { '$date': '2016-01-01T00:00:00.000Z' } } }"

Best regards
Kevin

1 Like