How to download folder from AWS S3

+7 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,290 points
270,429 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,440 points

Related Questions In Cloud Computing

0 votes
1 answer

How to delete the files from AWS S3 except the recently 5 added/updated files?

Use AWS s3 rm command with multiple --exclude options as shown: aws ...READ MORE

answered Jul 30, 2018 in Cloud Computing by Gopalan
• 1,360 points
3,512 views
+4 votes
2 answers

How come AWS S3 is erasing my extension from PDF files?

I think the problem should be with ...READ MORE

answered Mar 27, 2018 in Cloud Computing by code_ninja
• 6,290 points
3,572 views
+1 vote
2 answers

I want to Migrate from Oracle RDBMS to AWS S3 using Kinesis

Try to understand AWS Schema Conversion Tool ...READ MORE

answered Apr 20, 2018 in Cloud Computing by hemant
• 5,790 points
2,120 views
0 votes
1 answer
+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,090 points
2,426 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
3,439 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,280 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
3,997 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