Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-1532

bsondump should support reading from stdin

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      While you can work around this limitation by using <(command) as the input filename, it would be more idiomatic if you could just use bsondump in a normal pipeline as a filter. I see three options

      • Read from stdin automatically if no filename is specified. Maybe still display help if stdin isatty(stdin).
      • Use '-' as a magic filename like mongodump (users can still do './-' if they really want to use a file named '-')
      • Add a --stdin option

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                backlog-server-platform Backlog - Platform Team
                Reporter:
                redbeard0531 Mathias Stearn
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: