Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-280

Get Multiple occurences of option "--file" error using mongoimport

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • Legacy C++ Implementation
    • mongoimport
    • None
    • Windows 7 Professional

    Description

      Enter the following;
      mongoimport --db test --collection fdiagno --type csv --file fdiagno.csv –fields field1, field2

      and get Error parsing command line: Multiple occurrences of option "--file"

      There is only one occurrence of file. Why the error?

      Attachments

        Activity

          People

            adinoyi.omuya@mongodb.com Adinoyi Omuya
            Paul Cooling Paul Cooling [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: