Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.
/ s3put Public archive
forked from surma/s3put

Push a number of folders to a S3 bucket

License

Notifications You must be signed in to change notification settings

campact/s3put

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 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
            --cache-control Set Cache-Control header on upload
        -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

Binaries can be found in the release section.


Version 2.1.1

About

Push a number of folders to a S3 bucket

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%