Last active
October 12, 2015 11:26
-
-
Save fabiotatsuo/0a8c9ac7a538dc4a7dec to your computer and use it in GitHub Desktop.
Download S3 Bucket using AWS CLI, Mac
This file contains hidden or 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 | |
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