Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
mongodb in windows 7 ultimate, localhost i´m testing in a shell with commands.
*Location*: https://docs.mongodb.org/manual/reference/program/mongoimport/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36
*Referrer*: https://www.google.es/
*Screen Resolution*: 1360 x 768
*repo*: docs
*source*: reference/program/mongoimport
mongodb in windows 7 ultimate, localhost i´m testing in a shell with commands. *Location*: https://docs.mongodb.org/manual/reference/program/mongoimport/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36 *Referrer*: https://www.google.es/ *Screen Resolution*: 1360 x 768 *repo*: docs *source*: reference/program/mongoimport
Description
i have this command in the sell of windows
> mongoimport --host localhost --port 2766 --db test --collection people --file route/file_name
every think is ok there`re a mongod running at port 2766 and the name of database is test and collection named people.json is an empty file.
it give me that response.
error validating setings: incompatible options: --file and positional argument(s)
and the route and name of file is good copy and paste
i dont understand what hapend here.
Thanks for atendding