Uploaded image for project: 'MongoDB CLI Tools'
  1. MongoDB CLI Tools
  2. TOOLS-141

bsondump tool should work on non-regular files

    XMLWordPrintable

    Details

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

      Description

      Attempted calls (all failed):

      > mongodump -o - -d test -c zips | bsondump
      connected to: 127.0.0.1
      Display BSON objects in a data file.
       
      usage: bsondump [options] <bson filename>
       
      $ mongodump -o - -d test -c zips | bsondump -
      connected to: 127.0.0.1
      error: boost::filesystem::file_size: No such file or directory: "-"
       
      $ bsondump <(mongodump -o - -d test -c zips)
      connected to: 127.0.0.1
      error: boost::filesystem::file_size: Operation not permitted: "/proc/self/fd/11"

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: