Skip to content

dada-engineer/s3-grep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ./...

About

Command Line tool to grep through s3 buckets

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages