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?

質問済み 1年前230ビュー
1回答
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
エキスパート
Matt-B
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ