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:
- 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
- Do not forget to add a file extension properly or the file shall not upload.
- Use the gsutil ls command to verify your upload.