Created
July 14, 2018 18:35
-
-
Save Anon-Exploiter/bed912547b678922cd73983039967b48 to your computer and use it in GitHub Desktop.
Useful commands while testing s3 buckets!
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
aws s3 ls s3://s3buckethere --no-sign-request ## Lists the file in the s3 bucket | |
aws s3 cp s3://bucketname/filethere.txt . --no-sign-request ## Downloads `filethere.txt` from the s3 bucket in the current directory | |
aws s3 cp test.txt s3://bucketname --no-sign-request ## Uploads `test.txt` from current directory to the s3 bucket | |
aws s3api get-bucket-acl --bucket bucketname --no-sign-request ## Shows ACL (Access Control List) of the given bucket | |
aws s3api get-object-acl --bucket bucketname --key fileons3bucket.ext --no-sign-request ## Shows ACL (Access Control List) of given object in the bucket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment