8000 GitHub - TrackDuck/bash-s3: s3get and s3put in bash
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TrackDuck/bash-s3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bash-s3

AWS S3 get and put in bash using instance IAM role credential.

Prerequisite

  • curl
  • openssl
  • hmac_sha256

S3 Get on EC2

Usage: s3get.sh <bucket> <filePath> <destination>

./s3get.sh my-s3bucket foo/bar.txt bar.txt

This will download s3://my-s3bucket/foo/bar.txt to ./bar.txt

S3 Put on EC2

Usage: s3put.sh <bucket> <parent/path> <source>

./s3put.sh my-s3bucket foo ./bar.txt 

This will upload ./bar.txt to s3://my-s3bucket/foo/bar.txt

About

s3get and s3put in bash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%
0