Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon S3 console: download multiple files at once

When I log to my S3 console I am unable to download multiple selected files (the WebUI allows downloads only when one file is selected):

https://console.aws.amazon.com/s3

Is this something that can be changed in the user policy or is it a limitation of Amazon?

like image 649
mm24 Avatar asked Jan 20 '17 13:01

mm24


People also ask

How do I download an entire folder in S3 bucket?

Use the s3 cp command with the --recursive parameter to download an S3 folder to your local file system. The s3 cp command takes the S3 source folder and the destination directory as inputs and downloads the folder.

How do I download a file from aws command line?

Your answer You can use cp to copy the files from an s3 bucket to your local system. Use the following command: $ aws s3 cp s3://bucket/folder/file.txt .

How do you make S3 download faster?

If you want to speed up S3 uploads or downloads on smaller files, try Cloudfront instead. Make sure only to use the S3 accelerate endpoint selectively to avoid extra costs on data transfers you may not care to speed up.


1 Answers

It is not possible through the AWS Console web user interface. But it's a very simple task if you install AWS CLI. You can check the installation and configuration steps on Installing in the AWS Command Line Interface

After that you go to the command line:

aws s3 cp --recursive s3://<bucket>/<folder> <local_folder>  

This will copy all the files from given S3 path to your given local path.

like image 130
Saurabh Gupta Avatar answered Dec 19 '22 12:12

Saurabh Gupta