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

mongofiles should have an option to specify input/output filenames

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.1
    • Affects Version/s: 1.0.0
    • Component/s: Tools
    • None

      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.

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

              Created:
              Updated:
              Resolved: