[DOCS-7241] document new mongofiles commands Created: 22/Feb/16  Updated: 30/Oct/23  Resolved: 05/Apr/16

Status: Closed
Project: Documentation
Component/s: tools
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Jostein Gogstad Assignee: Allison Reinheimer Moore
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

docker@docker1:~$ docker run --rm -it mongo bash
root@3a87d4e9e53d:/# mongoimport --version
mongoimport version: 3.2.0-rc5
git version: 6186100ad0500c122a56f0a0e28ce1227ca4fc88
root@3a87d4e9e53d:/# mongo --version
MongoDB shell version: 3.2.0
root@3a87d4e9e53d:/#


Issue Links:
Documented
documents TOOLS-618 mongofiles: get file by _id in additi... Closed
Participants:
Days since reply: 7 years, 45 weeks, 1 day ago

 Description   

https://docs.mongodb.org/manual/reference/program/mongofiles/

  1. The examples doesn't run, for instance

    mongofiles --hostname db1.example.net -d records list
    

    produces

    error parsing command line options: unknown option "hostname"
    

    The correct command should use --host not --hostname

  2. The new commands in TOOLS-618 is not mentioned anywhere (i.e. get_id and delete_id)


 Comments   
Comment by Githook User [ 05/Apr/16 ]

Author:

{u'username': u'schmalliso', u'name': u'Allison Moore', u'email': u'allison.moore@10gen.com'}

Message: DOCS-7241: adds get_id and delete_id to mongofiles ref

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/e5e14a382e54bc0cc483da6f092416c503ceebba

Comment by Allison Reinheimer Moore [ 11/Mar/16 ]

I've corrected the --hostname weirdness – that'll go up next time we publish. I'll try to get the get_id and delete_id commands documented next week. Thanks!

Comment by Githook User [ 11/Mar/16 ]

Author:

{u'username': u'schmalliso', u'name': u'Allison Moore', u'email': u'allison.moore@10gen.com'}

Message: DOCS-7241: fixes --hostname to --host in mongofile examples
Branch: master
https://github.com/mongodb/docs/commit/0479588baf5fda67505aafeb13bfcb411a72e543

Generated at Thu Feb 08 07:53:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.