[SERVER-3442] mongoimport should take collection name from filename, like mongorestore Created: 18/Jul/11  Updated: 27/Oct/15  Resolved: 11/Sep/13

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: None
Fix Version/s: 2.5.3

Type: Improvement Priority: Trivial - P5
Reporter: Scott Hernandez (Inactive) Assignee: Amalia Hawkins
Resolution: Done Votes: 1
Labels: mongoimport, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DOCS-1950 Document: mongoimport should take col... Closed
Related
related to SERVER-12165 mongoimport broken w/no-args Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

$ ./mongoimport -d somedb ~/Downloads/SomeCollection.json
connected to: 127.0.0.1
no collection specified!



 Comments   
Comment by auto [ 11/Sep/13 ]

Author:

{u'username': u'hawka', u'name': u'hawka', u'email': u'amalia.hawkins@gmail.com'}

Message: SERVER-3442: mongoimport takes collection name from filename like mongorestore

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/cf2000150acc7d02fb7c58669e8d5541b2ee4783

Comment by Matt Kangas [ 11/Sep/13 ]

Update docs to indicate that collection name is now inferred?

Generated at Thu Feb 08 03:03:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.