rakyll / drive

Pull or push Google Drive files
471 stars 507 forks source link

[feature request] pull to stdout #21

Open l3iggs opened 9 years ago

l3iggs commented 9 years ago

Currently drive pull downloaded files end up where they should relative to the top level drive directory. It would be really useful if the file could be streamed to stdout as well. Here is how I envision this working:

An additional -O (output specifier) switch would specify the output file location, anywhere on the local file system. In recursive mode this would be a different top level drive directory. This destination could be specified as - and the file would stream to stdout.

That's just one idea, but anything that you come up with/is easiest for saving a file to stdout would be very much appreciated.