Created
October 5, 2020 17:22
-
-
Save BenSlabbert/58e2e1a4436b06ceac351a6c6a81a305 to your computer and use it in GitHub Desktop.
aws-s3-cp
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
#!/bin/bash | |
# copy contents for dir recursively to s3 bucket specifying encryption key | |
aws s3 cp $PATH_TO_DIR s3://$BUCKET --recursive --profile $AWS_PROFILE --sse aws:kms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment