Created
June 28, 2017 01:51
-
-
Save robertlmullen74/a8dba3383838ee4190315d0d8b32802f to your computer and use it in GitHub Desktop.
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
# install the command line utilities by following the instructions here | |
# http://docs.aws.amazon.com/cli/latest/userguide/awscli-install-bundle.html | |
# Note that we will need to provide you with the credentials or access key/secret before you can | |
# execute these commands, if you try to run these commands and get access denied | |
# that is ok for now. | |
# list the contents of a bucket | |
aws s3 --profile=sr ls s3://yp-test-rob | |
# upload test.txt file from /tmp to the yp-test-rob bucket | |
aws s3 --profile=sr cp /tmp/test.txt s3://yp-test-rob/ | |
# get the file from S3 yp-test-rob bucket to /tmp/newtest.txt | |
aws s3 --profile=sr cp s3://yp-test-rob/test.txt /tmp/newtest.txt | |
# test to list the contents of /tmp | |
ls /tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment