How to download an entire S3 bucket
May 5, 2022
Perhaps the easiest way to do it is with aws cli.
- install awscli:
(linux)curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
(mac)
https://awscli.amazonaws.com/AWSCLIV2.pk
(windows)
https://awscli.amazonaws.com/AWSCLIV2.msi - Syncronize S3 bucket to a local folder:
aws s3 sync s3://<your_bucket> <your_local_folder>
An example. You have got a bunch of content in a bucket named mybucket. You would like to download the content…