For me, it did replace the content type from image/jpeg to binary/octet-stream, since I only had jpeg images I was able to just add that to the command.
It also changed the permission of the object, so I had to recreate the object acl
# List current object acl
awss3apiget-object-acl--bucketbucket-name--keyobject-key# full copy command
awss3cps3://bucket-names3://bucket-name--metadata-directiveREPLACE--recursive--cache-controlmax-age=2592000--content-typeimage/jpeg--aclpublic-read
For me, it did replace the content type from
image/jpeg
tobinary/octet-stream
, since I only had jpeg images I was able to just add that to the command.It also changed the permission of the object, so I had to recreate the object acl
Useful info on acl
docs.aws.amazon.com/AmazonS3/lates...