How to download s3 bucket folder

+8 votes
I want to download a folder from AWS S3. Please suggest me a method for it.
Jul 12, 2018 in Cloud Computing by code_ninja
• 6,300 points
291,057 views

3 answers to this question.

+2 votes
Best answer

To Download using AWS S3 CLI :

aws s3 cp s3://WholeBucket LocalFolder --recursive
aws s3 cp s3://Bucket/Folder LocalFolder --recursive

To Download using Code, Use AWS SDK .

To Download using GUI, Use Cyberduck .

For further details, check out the AWS Course.

Hope it Helps.. :)

answered Sep 7, 2018 by eatcodesleeprepeat
• 4,710 points

selected Sep 7, 2018 by Vardhan
@eatcodesleeprepeat, What is the difference between AWS SDK and Cyberduck?
And where do those 2 CLI commands mentioned above fit? Only via code right?
#NewbeeAlert
+5 votes

To download files from S3, either use cp or sync command on AWS CLI.
 aws s3 cp s3://bucketname/dir localdirectory --recursive

(use --recursive in case of any error)

 aws s3 sync s3://bucketname/dir localdirectory

Get ready to level up your skills as an AWS Developer! Join our comprehensive AWS Developer Associate certification Course!

answered Jul 12, 2018 by Gopalan
• 1,360 points
0 votes

Hi,

You can download a folder from S3 in two ways. One is from the Web UI. And another one is with the CLI command.

$aws s3 cp s3://Bucket/Folder LocalFolder --recursive
answered Dec 10, 2020 by MD
• 95,460 points

Related Questions In Cloud Computing

+4 votes
5 answers

How to do parallel uploads to the same s3 bucket directory with s3cmd?

Is your problem is not with the ...READ MORE

answered Oct 11, 2018 in Cloud Computing by findingbugs
• 4,780 points
5,050 views
0 votes
1 answer
+1 vote
1 answer
+4 votes
2 answers

Amazon S3 Permission problem - How to set permissions for all files at once?

This can be done by setting the ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,200 points
4,183 views
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,801 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,187 views
+2 votes
2 answers

Is there a way to add cache control in AWS S3?

use of  current upstream master branch will ...READ MORE

answered Apr 10, 2018 in Cloud Computing by hemant
• 5,790 points
8,768 views
+1 vote
2 answers

AWS: Long Distance Movement to S3 buckets

This description may interest you, check the ...READ MORE

answered Aug 30, 2018 in Cloud Computing by eatcodesleeprepeat
• 4,710 points
4,470 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP