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)
Click to show internal directories.
Click to hide internal directories.