aws s3 cp

Copy local files or S3 objects to another location locally or in S3. More information: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/cp.html.

aws s3 cp {{path/to/file}} s3://{{bucket_name}}/{{path/to/remote_file}}

aws s3 cp s3://{{bucket_name1}}/{{path/to/file}} s3://{{bucket_name2}}/{{path/to/target}}

aws s3 cp s3://{{bucket_name1}}/{{path/to/file}} s3://{{bucket_name2}}

aws s3 cp s3://{{bucket_name}} . --recursive

aws s3 cp help