Inspired by this question i am trying to delete specific folders from my bucket using wildcard in a gsutil
command such as :
gsutil rm -r gs://bucket-name/path/to/**/content
or
gsutil rm -r gs://bucket-name/path/to/*/content
This is throwing the error :
zsh: no matches found: gs://bucket-name/path/to/**/content
zsh: no matches found: gs://bucket-name/path/to/*/content
Where the *
or **
is replacing IDs (thousands of records) and under each there are 2 directories : content
, content2
and i only want to remove the content
directory
Thanks in advance