Created
October 8, 2014 07:45
-
-
Save v-thomp4/faffa87a4243d817e0b7 to your computer and use it in GitHub Desktop.
gsutil
This file contains hidden or 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
sync data | |
gsutil rsync -d -r /path/to/folder gs://bucket | |
set public-read | |
gsutil acl -R set public-read gs://bucket | |
setmeta | |
gsutil setmeta -R -h "Cache-Control:public, max-age=604800" gs://bucket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment