I see that this is a very old topic. Can anyone help a newbie?
I am trying to import CSV into mongodb atlas, here is my import expression (sensitive data deleted :)
mongoimport --host ClusterXXXXXXXXXXXXXX --ssl - username XXXXXX --password XXXXXXXX --authenticationDatabase admin --db CRM --collection CRM --type csv --file accounts.csv --fields id, name, parent name, PID, PID, Type, BillingStreet, BillingCity, BillingState, BillingPostalCode, BillingCountry, Country Code, Phone, Fax, Website, Industry, AnnualRevenue, NumberOfEmployees, Ownership, TickerSymbol, Description, Rating, Website, CurrencyIsoCode, CreatedDate, LastModifiedCocc_State_Last, LastModifiedocc Focus_Region__c, Potential_Sponsor__c, Data_Source__c, Account_Type__c, Sector__c, PCI_Company_Type__c, Account_Description__c, Potential_Media_Partner__c, Closed_Down__c, Average_Opportunity_Ratio__c, Sponsored__Aventc_count_count_count_count
I RECEIVED THE FOLLOWING ERROR WHY I DO NOT UNDERSTAND WHY THERE ARE NOT SINGLE "-"
settings check error: only one positional argument is allowed