Examples (5)
Copy a file from local to a specific bucket
aws s3 cp path/to/file s3://bucket_name/path/to/remote_fileCopy a specific S3 object into another bucket
aws s3 cp s3://bucket_name1/path/to/file s3://bucket_name2/path/to/targetCopy a specific S3 object into another bucket keeping the original name
aws s3 cp s3://bucket_name1/path/to/file s3://bucket_name2Copy S3 objects to a local directory recursively
aws s3 cp s3://bucket_name . --recursivemade by @shridhargupta | data from tldr-pages