Is it not possible download all files from one S3 bucket?

0

Hi, just started on AWS. Created a S3 bucket with couple of files (png & mov) earlier. Now I wanted to download all files, butdownload button only available if I select one file only. Am I not able to download all files in the bucket at once? Thanks, Axel

질문됨 일 년 전6731회 조회
1개 답변
2

Hello,

to download an entire s3-bucket/all files you have to use the cli with the s3 sync command:

aws s3 sync s3://my_bucket_xy

But for that you need to install the awscli on your local computer and also create an access key for your user to connect from your cli to AWS:

A faster approach is probably by directly using the AWS Cloudshell (the little cli-symbol on topright of your aws console) and run the s3 sync command there into a specific folder:

aws s3 sync s3://my_bucket_xy /bucketcontent

... then zipping the downloaded content.

zip -r zipped-bucketcontent.zip /bucketcontent

... then download the zip directly in the AWS Cloudshell to your local computer -> Actions -> Download File -> Enter the filepath of zipped-bucketcontent.zip

for more infos see here: https://docs.aws.amazon.com/cloudshell/latest/userguide/multiple-files-upload-download.html

profile picture
HeikoMR
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠