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

bsondump tool should work on non-regular files

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 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:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: