Google Cloud CLI (gcloud) · Storage, secrets and logs
Sync a folder with a bucket
Make a bucket match a local folder.
gcloud storage rsync ./dist gs://my-bucket --recursive
Official Google Cloud CLI (gcloud) documentation
More storage, secrets and logs commands
- List buckets or objects
- Copy files to or from a bucket
- Read a secret
- Store a secret
- Read logs
- List Cloud SQL instances
All storage, secrets and logs commands · Google Cloud CLI (gcloud) cheatsheet