bsondump tool should work on non-regular files

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: bsondump
    • None

      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"
      

              Assignee:
              DO NOT USE - Backlog - Platform Team
              Reporter:
              Mathias Stearn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: