Created
March 16, 2017 21:01
-
-
Save jhoblitt/270f763b613c674f5cd53dde302c8ae6 to your computer and use it in GitHub Desktop.
awscli s3 example
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
virtualenv venv | |
. venv/bin/activate | |
pip install awscli | |
export AWS_ACCESS_KEY_ID=<...> | |
export AWS_SECRET_ACCESS_KEY=<...> | |
export AWS_DEFAULT_REGION=us-east-1 | |
aws s3 ls | |
aws s3 mb s3://n8pease-123 | |
aws s3 ls s3://n8pease-123 | |
touch foo | |
aws s3 cp foo s3://n8pease-123/baz/bar/foo | |
aws s3 ls --recursive s3://n8pease-123 | |
aws s3 rm s3://n8pease-123/baz/bar/foo | |
aws s3 rb s3://n8pease-123 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment