Copy Object
As the name suggests, this operation copies an object from a bucket to another bucket. The samples in this section show how to copy an object named my-object stored within my-bucket to my-new-bucket. The following is an example for IDrive® e2’s Chicago region.
You must follow the required configuration instructions before performing the following operations.
Run the following command to copy an object to a new bucket.
aws s3 cp s3://my-bucket/my-object s3://my-new-bucket/my-object --endpoint-url https://storageendpoint