Created
January 21, 2016 09:29
-
-
Save albertstill/574494ae7a75bfeae301 to your computer and use it in GitHub Desktop.
Script that pushes a staging buckets data to a production bucket
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
# delete flag means files that exist in the prod bucket but not in the staging | |
# bucket are deleted during sync | |
aws s3 sync s3://staging.mybucket.com s3://mybucket.com --delete --region eu-west-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment