- …
#!/usr/bin/env bash
project="my_project"
bucket="my_bucket"
object="path/to/file/or/folder"
gcloud auth login
gcloud config set project "$project"
gsutil -m cp -r "gs://$bucket/$object" .
#!/usr/bin/env bash
project="my_project"
bucket="my_bucket"
object="path/to/file/or/folder"
gcloud auth login
gcloud config set project "$project"
gsutil -m cp -r "gs://$bucket/$object" .