Uploading data to buckets using gsutil

When using gsutil from the command line, you can treat the bucket as just another directory on the filesystem and specify that as the destination while copying files:

  1. Use the gsutil cp command as follows to upload file(s) in the bucket. The command is followed by the source and destination URLs:
gsutil cp Desktop/image1.png gs://loonycorn-bucket-00
  1. Do not forget to add a file extension properly or the file shall not upload.
  2. Use the gsutil ls command to verify your upload.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.221.46.44