s3-grep

command module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: MIT Imports: 1 Imported by: 0

README

s3-grep

GitHub release GoDoc MIT license

Command Line Interface to grep through contents of objects in s3 buckets.

Installation

Use go get
$ go get -u github.com/dabdada/s3-grep

Usage

$ s3-grep search_query --profile <some_configured_aws_profile> --bucket <some_bucket_name>
Example:
$ s3-grep hello --profile dev --bucket myBucket

If you want to search for multiple seperated words you need to enclose the search query in quotation marks:

$ s3-grep "hello world" --profile dev --bucket myBucket

Requirements

You need your AWS credentials configured (How To) and have the necassary access rights for the bucket to grep in.

Development

You need to install Golang >= 1.11 (Download)

$ git clone git@github.com:dabdada/s3-grep.git
$ export GO111MODULE=on

Build with go build and run tests with go test ./...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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