easygcloud

Recursively copy a local directory and all its contents to Cloud Storage

command

gcloud storage cp -r LOCAL_DIR gs://BUCKET/

also accepted

gcloud storage cp -r

Command breakdown

Part of the Google Cloud CLI (gcloud) — Cloud Storage category.

gcloudstoragecp-rLOCAL_DIRgs://BUCKET/
FlagPurpose
-rBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →