Skip to content

Instantly share code, notes, and snippets.

@fabiotatsuo
Last active October 12, 2015 11:26
Show Gist options
  • Save fabiotatsuo/0a8c9ac7a538dc4a7dec to your computer and use it in GitHub Desktop.
Save fabiotatsuo/0a8c9ac7a538dc4a7dec to your computer and use it in GitHub Desktop.
Download S3 Bucket using AWS CLI, Mac
$ brew install awscli
Add the following to ~/.bashrc to enable bash completion:
complete -C aws_completer aws
$ aws configure
AWS Access Key ID [None]:
AWS Secret Access Key [None]:
Default region name [None]:
Default output format [None]: json
List S3 buckets
$ aws s3 ls
Download S3 bucket
$ aws s3 sync s3://mybucket-name .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment