ccat

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2019 License: MIT Imports: 13 Imported by: 0

README

Build Status

cloud cat

Inspired by the cat Unix command, cloud cat (ccat) can stream one or more objects from the Amazon Web Services (AWS) Simple Storage Service (S3) and print the results to STDOUT.

Because cloud cat streams the objects, not downloads, you can work with large objects in S3 as if they're local without having to worry about the amount of space you have on your local disk.

CLI Usage

NAME:
   ccat - cloud cat

 A simple CLI that streams objects from S3 to STDOUT

USAGE:
   ccat s3://your-bucket/your-key https://s3-us-west-2.amazonaws.com/your-bucket/your-other-key

GLOBAL OPTIONS:
   --help, -h  show this help message

Examples

Print an object to STDOUT
ccat s3://your-bucket/your-key.json
Print an object with an S3 URL to STDOUT
ccat https://s3-us-west-2.amazonaws.com/your-bucket/your-key.json
Print multiple objects to STDOUT
ccat s3://your-bucket/your-key.json s3://your-bucket/your-other-key.json
Print a gzipped object to STDOUT
ccat s3://your-bucket/your-key.json.gz | zcat

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL