s3 image url's download

0

How can I export my image url's with a bulk download?

Michael
質問済み 1ヶ月前70ビュー
3回答
0

You can get a list of all the keys in a bucket with the following AWS CLI command.

aws s3 ls --recursive  s3://<bucket-name> | awk -F' ' '{print $4}'

You can further update the command to output the list of keys modified to become the Object URL with the following command.

aws s3 ls --recursive s3://<bucket-name> | awk -F' ' '{print "https://<bucket-name>.s3.amazonaws.com/"$4}'

Is this the type of list you are looking for?

profile pictureAWS
エキスパート
iBehr
回答済み 1ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前
  • Thank you, would you be able to give me step by step instructions on how to do it. I am brand new to aws and have no experience with this.

0

Thank you, would you be able to give me step by step instructions on how to do it. I am brand new to aws and have no experience with this.

Michael
回答済み 1ヶ月前
0

Sure, the easiest way to do this will be to open CloudShell in the AWS console. Then copy/paste this command replacing <bucket-name> (both occurrences) with the name of your S3 bucket.

aws s3 ls --recursive s3://<bucket-name> | awk -F' ' '{print "https://<bucket-name>.s3.amazonaws.com/"$4}'
profile pictureAWS
エキスパート
iBehr
回答済み 1ヶ月前

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

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

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

関連するコンテンツ