Skip to content

Instantly share code, notes, and snippets.

@larrymyers
Created September 11, 2016 11:54
Show Gist options
  • Save larrymyers/2c1100167d01e62fd74383d40e9e6a1e to your computer and use it in GitHub Desktop.
Save larrymyers/2c1100167d01e62fd74383d40e9e6a1e to your computer and use it in GitHub Desktop.
Upload gzipped assets to S3
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