Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13934

[TOOLS] Support list of files for put and get subcommands in mongofiles

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None
    • Last comment by Customer:
      true
    • Story Points:
      3
    • Sprint:
      ServerDocs2020: Oct13 - Oct19, ServerDocs2020: Oct20 - Oct27, ServerDocs2020: Oct27 - Nov3, ServerDocs2020: Nov3 - Nov 10, ServerDocs2020: Nov10 - Nov 17, ServerDocs2020: Nov24 - Dec1

      Description

      Description

      Specify in documentation as needed that put and get subcommands now support lists of files

      Engineering Description
      This PR implements logic to support a list of supporting arguments, i.e. file names, for mongofiles put and mongofiles get. The intended behavior is as follows:

      The following (1) should put the specified files in the remote GridFS filesystem:

      mongofiles put first.bson second.bson third.bson

      The following (2) should put all files of the form *.bson in the current directory or any of its subdirectories:

      mongofiles put */.bson

      mongofiles should not evaluate the glob expression logic – the underlying shell should evaluate the glob expression and call mongofiles with a command of the form specified in (1).

      Furthermore, the following command should get the specified files from the remote GridFS filesystem:

      mongofiles get first.bson second.bson third.bson

      The glob interface is not available for `mongofiles ... get` – that should be made available in TOOLS-2668.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andrew.feierabend Andrew Feierabend (Inactive)
              Reporter:
              Anonymous Anonymous
              Participants:
              Last commenter:
              Andrew Feierabend Andrew Feierabend (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved:
                Days since reply:
                46 weeks, 5 days ago