aws s3 cp
Copy local files or S3 objects to another location locally or in S3. More information: https://docs.aws.amazon.com/cli/latest/reference/s3/cp.html.
- Copy a file from local to a specific bucket:
aws s3 cp s3:///
- Copy a specific S3 object into another bucket:
aws s3 cp s3:/// s3:///
- Copy a specific S3 object into another bucket keeping the original name:
aws s3 cp s3:/// s3://
- Copy S3 objects to a local directory recursively:
aws s3 cp s3:// . --recursive
- Display help:
aws s3 cp help
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
