easygsutil

Upload a local file to a Cloud Storage bucket

command

gsutil cp FILE.TXT gs://BUCKET_NAME/

also accepted

gsutil cpgsutil cp FILE.TXT

Command breakdown

Part of the Cloud Storage CLI (gsutil) — Cloud Storage gsutil category.

gsutilcpFILE.TXTgs://BUCKET_NAME/

Test your recall — not just your reading.

Practice with interactive quiz →