Skip to content

Instantly share code, notes, and snippets.

@KomanRudden
Last active March 16, 2021 18:55
Show Gist options
  • Save KomanRudden/2a541a0faeb0c91d5f0fd4f3711f48ee to your computer and use it in GitHub Desktop.
Save KomanRudden/2a541a0faeb0c91d5f0fd4f3711f48ee to your computer and use it in GitHub Desktop.
AWS CLI Commands
List S3 buckets
>aws s3 ls
List bucket contents
>aws s3 ls s3://bucket --human-readable --summarize
Copy S3 bucket contents to local drive
>aws s3 sync s3://bucket .
Get S3 bucket file permissions
>aws s3api get-object-acl --bucket my-bucket --key index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment