s3put

command module
v0.0.0-...-1bdfa99 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2016 License: MIT Imports: 13 Imported by: 0

README

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

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