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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store