Skip to content

Instantly share code, notes, and snippets.

@newshorts
Created September 17, 2016 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save newshorts/d420a352b1c0c2c38bd15750ce4ffaea to your computer and use it in GitHub Desktop.
Save newshorts/d420a352b1c0c2c38bd15750ce4ffaea to your computer and use it in GitHub Desktop.
Boot up aws cli and download batch images
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