$ gsutil du -sh gs://test123/
CommandException: Cloud folder gs://test123/testfile[1994]/ contains a wildcard; gsutil does not currently support objects with wildcards in their name.
$ gsutil mv gs://test123/testfile[1994]/ gs://test123/testfile_1994/
CommandException: Cloud folder gs://test123/testfile[1994]/ contains a wildcard; gsutil does not currently support objects with wildcards in their name.
$ gsutil mv "gs://test123/testfile\[1994\]/" gs://test123/testfile_1994/
CommandException: No URLs matched:
I'm unable to list the directory, or rename the folder. What should I do?
Since there isn't any answers here whatsoever, I'll post what I've done. I haven't put any effort into making this easy to use. YMMV.
d153cb33bfa8e96a32b2ebdee86e03251cfb71fd
, which is where I was working at.46c09952d137e8704c1209bb8bdfbb2e73a2cd5d
after reading the commit message and making sure you're aware of why this was blocked.[
and]
as wildcard characters.I've also filed a bug against gsutil to reintroduce support.
Here's the patch: