Created
March 14, 2019 21:30
-
-
Save vinoaj/86e8b0988b6fe11fbf0881202819335b to your computer and use it in GitHub Desktop.
This file contains 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
for VARIABLE in $(gsutil ls) | |
do | |
echo $(gsutil du $VARIABLE | grep -v /$ | wc -l) $VARIABLE | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just what I was looking for. I credited you in this SO post. FYI