Skip to content

Instantly share code, notes, and snippets.

@katapad
Created July 5, 2013 13:24
Show Gist options
  • Save katapad/5934502 to your computer and use it in GitHub Desktop.
Save katapad/5934502 to your computer and use it in GitHub Desktop.
Google Cloud Storageのコマンド
# https://developers.google.com/storage/docs/gsutil/commands/cp?hl=ja
#全部アップロード & パブリック
gsutil cp -a public-read -R ./ gs://my-bucket-name
# 特定のディレクトリをアップロード
gsutil cp -a public-read -R ./www/** gs://my-bucket-name
#全部削除
gsutil rm -R gs://my-bucket-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment