s3cp

command
v0.0.0-...-4410413 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2014 License: MIT, MIT Imports: 5 Imported by: 0

README

Command s3cp copies a file to or from Amazon S3.

Full documentation:
http://godoc.org/github.com/kr/s3/s3cp

Documentation

Overview

Command s3cp copies a file to or from Amazon S3.

Usage:

s3cp file url
s3cp url file

The file does not need to be seekable or stat-able. You can use s3cp to upload data of indeterminate length, such as from a pipe.

Examples:

$ s3cp file.txt https://mybucket.s3.amazonaws.com/file.txt
$ gendata | s3cp /dev/stdin https://mybucket.s3.amazonaws.com/log
$ s3cp https://mybucket.s3.amazonaws.com/image.jpg pic.jpg

Environment:

S3_ACCESS_KEY – an AWS Access Key Id (required)

S3_SECRET_KEY – an AWS Secret Access Key (required)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL