Downloading an entire S3 bucket

0 votes

Is there an option to download the entire s3 in aws management console?

Is there an easy way to grab everything in one of my buckets? I tried making the root folder public, using wget to grab it all and then making it private again but I don't know if there's an easier way.

Apr 29 in AWS by datageek
• 3,040 points
648 views

1 answer to this question.

0 votes

On AWS CLI you can use

Command:

aws s3 sync s3://mybucket .

Output:

download: s3://mybucket/test.txt to test.txt
download: s3://mybucket/test2.txt to test2.txt

This will download all of your files. It will not delete any existing files in your current directory, and it won't change or delete any files on S3.

You can also do S3 bucket to S3 bucket, or local to S3 bucket sync.

answered Apr 29 by Archana
• 5,560 points

Related Questions In AWS

+3 votes
2 answers
0 votes
1 answer

Download an entire S3 bucket

You can use s3cmd to download your bucket. s3cmd --configure s3cmd ...READ MORE

answered Mar 12 in AWS by Reena
73 views
0 votes
1 answer

How do I create folder under an Amazon S3 bucket through PHP API?

Of Course, it is possible to create ...READ MORE

answered Apr 24, 2018 in AWS by anonymous
2,761 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers

Copying folders inside Amazon S3 bucket

Here is the example to copy folder ...READ MORE

answered Nov 29, 2018 in AWS by Archana
• 5,560 points
1,380 views