CLI for streaming I/O with Google Cloud Storage
Navigate to the root gcsio/
directory (where the Makefile
is located) and run:
make install
usage: gcsio [<flags>] <command> [<args> ...]
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
Commands:
help [<command>...]
Show help.
upload <dst>
Streams stdin up to a GCS object
cat [<flags>] <source>
Streams an object from GCS to stdout
usage: gcsio upload <dst>
Streams stdin up to a GCS object
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
Args:
<dst> Destination object URI
usage: gcsio cat [<flags>] <source>
Streams an object from GCS to stdout
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--no-decompress Disable automatic stream decompression
Args:
<source> Source object URI or glob pattern
When contributing to this repository, please follow the steps below:
- Fork the repository
- Submit your patch in one commit, or a series of well-defined commits
- Submit your pull request and make sure you reference the issue you are addressing