At some point, I needed to download a folder from AWS S3 only to realize that there is no such feature built on their UI. Thankfully, there is a way to download any directory through their CLI.
To do that, follow these steps:
- Install AWS CLI
- Make sure the CLI is installed by running
aws --versionin your terminal
aws configurein your terminal to add your AWS Keys created here
- Run the following command to download the folder. The first parameter is the directory you want to be downloaded, and the second is the directory on your local computer where the files will be placed.
aws s3 sync s3://bucket-name-here/path-to-directory-to-download/ /Users/chrysanthos/folder/on/your/device