s3client

command module
v0.0.0-...-c231793 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2017 License: MIT Imports: 18 Imported by: 0

README

s3client

s3client is a simple client for uploading and downloading s3 objects using the aws-sdk-go s3manager for high performance concurrent transfers.

This also makes use of the facebookgo flagconfig library that allows specifying option from a config file. So you can either run it with options like:
./s3client -filepath=myfile -object=myobject -bucket=mybucket -maxprocs=48 -concurrency=48

but if you don't want to remember all the options, you can make a config file, myconfig, that contains:
filepath=myfile
object=myobject
bucket=mybucket
maxprocs=48
concurrency=48

and run the command like:
./s3client -c ./myconfig

you can specify the id and secret on the command line or it will also just pick them up from the environment variables AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY.

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