How to download an entire S3 bucket

Perhaps the easiest way to do it is with aws cli.

  1. 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
  2. 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…

--

--