title: Export database from MongoDb atlas to the local machine Monogo compass
body: <p>I have remote database in Atlas with name of "test" and I want to download collection name image_table as a JSON file.</p>
  
  <p>In mac terminal:</p>
  
  <p>$ mongoexport –db test –collection image_table image.json
  I got the error></p>
  
  <p>020-01-16T13:49:12.822+0100 error parsing command line options: too many positional arguments: [–db test –collection image_table image.json]
  2020-01-16T13:49:12.822+0100    try 'mongoexport --help' for more information</p>