The gcloud storage command group is the current CLI for Cloud Storage and replaces most uses of the older gsutil. Buckets and objects are addressed with gs:// URLs. Common commands: gcloud storage ls gs://my-bucket lists objects; gcloud storage cp report.csv gs://my-bucket/reports/ uploads; gcloud storage cp -r ./site gs://my-bucket copies a folder; gcloud storage mv moves or renames; gcloud storage rm gs://my-bucket/old/** deletes; and gcloud storage rsync synchronizes a directory with a bucket prefix. Large transfers are parallelized automatically.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 4 more sections, 4 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.