Last active
January 5, 2022 09:13
-
-
Save KrustyHack/540dffcb371816acc2e146363302aa72 to your computer and use it in GitHub Desktop.
Find GCP bucket accross projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcloud projects list --format="value(PROJECT_ID)" | xargs -n1 -t -I% gsutil ls -p % -b gs://*private* | |
# Credits : https://github.com/fjomier |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment