Skip to content

Instantly share code, notes, and snippets.

@vinoaj
Created March 14, 2019 21:30
Show Gist options
  • Save vinoaj/86e8b0988b6fe11fbf0881202819335b to your computer and use it in GitHub Desktop.
Save vinoaj/86e8b0988b6fe11fbf0881202819335b to your computer and use it in GitHub Desktop.
for VARIABLE in $(gsutil ls)
do
echo $(gsutil du $VARIABLE | grep -v /$ | wc -l) $VARIABLE
done
@smoore4moma
Copy link

Just what I was looking for. I credited you in this SO post. FYI

@vinoaj
Copy link
Author

vinoaj commented Jul 28, 2021

@smoore4moma glad you found it useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment