Migration of objects to different bucket in diff account

0

Hi,

As I want to transfer the objects from BUcket A in Account A to Bucket B in Account B. I want to get the same Last Modified dates same can I get that?

asked a year ago222 views
1 Answer
0

Hello There

You cannot modify metadata like the Last-Modified date. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingMetadata.html#SysMetadata

You can copy the Last-Modified date to user-defined metadata on each object if you need to retain a record. Check this previous thread.

https://repost.aws/questions/QUIzqoKL9OQZiETz6ZHHSHiQ/is-there-a-way-to-not-change-an-s-3-objects-last-modified-date-when-copying-it-to-a-new-bucket

profile pictureAWS
EXPERT
Matt-B
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions