Google Cloud Storage - gsutil ls examples

gsutil ls gives the list of objects

List buckets

gsutil ls

List all files in a bucket

gsutil ls gs://bucket

List all files recursively in a folder

gsutil ls -r gs://bucket/**

Search a file recursively

gsutil ls -r gs://bucket/**myfilename*

mCollins

posted on 23 Sep 21

Enjoy great content like this and a lot more !

Signup for a free account to write a post / comment / upvote posts. Its simple and takes less than 5 seconds