Created
September 11, 2016 11:54
-
-
Save larrymyers/2c1100167d01e62fd74383d40e9e6a1e to your computer and use it in GitHub Desktop.
Upload gzipped assets to 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
find . -type f -exec gzip -9 {} \; -exec mv {}.gz {} \; | |
aws s3 cp . s3://<bucket-name> --content-encoding=gzip --recursive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment