CmdID

CmdID / Commands

aws-s3-cp

Copy local files or S3 objects to another location locally or in S3. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Copy a file from local to a specific bucket

aws s3 cp path/to/file s3://bucket_name/path/to/remote_fileIdentify

Copy a specific S3 object into another bucket

aws s3 cp s3://bucket_name1/path/to/file s3://bucket_name2/path/to/targetIdentify

Copy a specific S3 object into another bucket keeping the original name

aws s3 cp s3://bucket_name1/path/to/file s3://bucket_name2Identify

Copy S3 objects to a local directory recursively

aws s3 cp s3://bucket_name . --recursiveIdentify
--recursiveCommand is performed on all files or objects under the specified directory or prefix. AWS CLI reference

Display help

aws s3 cp helpIdentify

Matches documented abuse: inherit