Listing the contents of a cloud storage bucket folder.

0 votes
How do I list the contents of my bucket?
Oct 23 in GCP by anonymous
• 4,320 points
16 views

1 answer to this question.

0 votes

Use the gsutil ls command to list the contents at the top level of your bucket:

gsutil ls gs://my-awesome-bucket

If successful, the command returns a message similar to:

gs://my-awesome-bucket/kitten.png
gs://my-awesome-bucket/just-a-folder/

You've just seen the contents at the top level of your bucket.

answered Oct 23 by Sirajul
• 39,540 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

How do I change the default storage class of a bucket?

Use the gsutil defstorageclass set command: gsutil defstorageclass set [STORAGE_CLASS] ...READ MORE

answered Oct 25 in GCP by Sirajul
• 39,540 points
20 views
0 votes
1 answer
0 votes
1 answer

GCP Error: 403: Access Denied

Check that your credentials are correct. For ...READ MORE

answered Oct 9 in GCP by Sirajul
• 39,540 points
25 views
0 votes
1 answer

Permissions issue with Google Cloud Storage Bucket.

You can regain access to the object by assigning an applicable role, like roles/storage.objectAdmin, to ...READ MORE

answered Oct 10 in GCP by Sirajul
• 39,540 points
56 views
0 votes
1 answer

Change the project of a cloud storage bucket.

Changing a bucket's location or project is ...READ MORE

answered 4 days ago in GCP by Sirajul
• 39,540 points
9 views
0 votes
1 answer