Last active
September 28, 2019 10:08
-
-
Save dautovri/af5560093a3a0cc4e4f96cc192a9a1e8 to your computer and use it in GitHub Desktop.
AWS S3
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
# List all buckets | |
aws s3 ls | |
# List content of a bucket | |
aws s3 ls s3://<bucket> | |
# Create a bucket | |
aws s3 mb s3://<bucket> | |
# Copy into bucket | |
aws s3 cp <path> s3://<bucket> | |
# Copy from bucket | |
aws s3 cp s3://<bucket> <path> | |
# Move within bucket | |
aws mv s3://<bucket>/<src> <dest> | |
# Remove empty bucket | |
aws s3 rb s3://<bucket> | |
# Remove object from bucket | |
aws s3 rm s3://<bucket>/<path> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment