Guides

×
×
Home > S3 Developer Guide > Operations > Copy Object

Copy Object

jQuery(document).attr(“title”, “Welcome to Sterling Kilgore | Results Beyond Words”);

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 Cloud’s Oregon (us-west-1) 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
© 2020 IDrive Inc.