Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2836

When fed through sdtin mongo should have a better output

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.1.0
    • 1.6.5
    • Shell
    • None

    Description

      echo "show dbs" | mongo --quiet should:

      • not display anything apart from the command output result
      • optionally separate result form mongo other information (when not invoked via --quiet)

      To allow easy use of the shell's output in the context of shell tools. (for db in `echo 'show dbs' | mongo --quiet`; do; mongodump $db; done ...)

      Attachments

        Activity

          People

            tad Tad Marshall
            octplane Pierre Baillet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: