gcloud storage
CautionWork with Cloud Storage
gcloud storage cp <src> gs://bucket/
Lists, copies and rsyncs GCS objects (gsutil's successor) with automatic parallelism.
Examples
gcloud storage rsync ./backup gs://corp-backup/dailyIncremental backup
Syntax
gcloud storage [ls|cp|rsync] gs://bucket[/path]
Before you run it
Mirror-style flags delete remote files.
Related commands
- aws s3 syncSync with S3
- gcloud projects listList GCP projects
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store