Created
September 17, 2016 08:24
-
-
Save newshorts/d420a352b1c0c2c38bd15750ce4ffaea to your computer and use it in GitHub Desktop.
Boot up aws cli and download batch images
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install awscli | |
aws configure | |
# 1. log into your aws console, click on "security and credentials" in the menu | |
# 2. access your IAM page, create a new user & group with access to your bucket | |
# 3. copy credentials to a safe spot | |
# AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE | |
# AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY | |
# Default region name [None]: us-west-2 | |
# Default output format [None]: ENTER | |
#check you have access | |
aws s3 ls bucket-name | |
#download a whole folder to a folder on your Desktop | |
aws s3 cp s3://bucket-name/folder1/ ~/Desktop/folder1 --recursive | |
# profit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment