Skip to content

Instantly share code, notes, and snippets.

@joaoluiznaufel
Created September 17, 2018 15:16
Show Gist options
  • Select an option

  • Save joaoluiznaufel/c835e073a69bb76f3ec3ad555021c2f8 to your computer and use it in GitHub Desktop.

Select an option

Save joaoluiznaufel/c835e073a69bb76f3ec3ad555021c2f8 to your computer and use it in GitHub Desktop.

Revisions

  1. joaoluiznaufel created this gist Sep 17, 2018.
    5 changes: 5 additions & 0 deletions gsutil
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #send files to buckets
    gsutil rsync -d -r <folder path> gs://<name of your bucket>

    #change permission bucket
    gsutil acl ch -u AllUsers:R gs://yourbucket/**