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

mongofiles should have an option to specify input/output filenames

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.1.1
    • 1.0.0
    • Tools
    • None

    Description

      There should be a way to decouple the input and output filenames (database vs. local filesystem source/destination) for mongofiles "get" and "put" commands.

      I'd suggest "i filename" for PUT, and "-o filename" for GET, where filename is the source/destination filename (including path), and "" represents reading from STDIN or writing to STDOUT, respectively. Keep "--file" (or maybe "-f" for short) to refer to the filename stored in the database.

      Attachments

        Activity

          People

            mike Michael Dirolf
            jmsachs Jason Sachs
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: