Skip to content

Commit

Permalink
allows you to look at the .py file in a browser
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshmanok committed Mar 30, 2017
1 parent e088f94 commit a673ec0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions courses/unstructured/replace_and_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ gsutil -m cp $TEMP/* gs://$BUCKET/unstructured
# photos ...
gsutil -m cp photos/* gs://$BUCKET/unstructured/photos
gsutil acl ch -g AllUsers:R gs://$BUCKET/unstructured/photos/*

# this allows you to look at the .py file in a browser
gsutil -m setmeta -h "Content-Type:text/plain" gs://$BUCKET/unstructured/*.py

0 comments on commit a673ec0

Please sign in to comment.