Skip to content

niilo/s3put

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 

Repository files navigation

s3put is a really quick'n'dirty CLI app for [S3] and [GCS].

Originally, it has been written during an S3 upload which was taking too long, because there are no tools which support multiple parallel uploads. s3put does. Later, the capability for getting buckets and copying them to the local disk was added.

Usage

Usage: s3put [global options] <verb> [verb options]

Global options:
        -c, --concurrency Number of coroutines (default: 10)
            --continue    Continue on error
        -p, --prefix      Prefix to apply to remote storage
        -h, --help        Show this help

Verbs:
    gcs:
        -k, --access-key  GCS Interop Access Key ID (*)
        -s, --secret-key  GCS Interop Access Key (*)
        -b, --bucket      Bucket URL to push to (*)
    s3:
        -k, --access-key  AWS Access Key ID (*)
        -s, --secret-key  AWS Secret Access Key (*)
        -b, --bucket      Bucket URL to push to (*)

Example

$ s3put -c 5 gcs -k GOOG2MLXXXXXXXXX -s XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -b https://storage.googleapis.com/some-bucket put .
$ s3put -c 10 s3 -k GOOG2MLXXXXXXXXX -s XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -b https://s3.amazonaws.com/some-bucket get .

Binaries


Version 2.0.2

About

Push a number of folders to a S3 bucket

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%