GoogleCloudPlatform / GoogleCloudPlatform/gsutil
Wildcarded/recursive deletes of objects ending in #[\d]+ fail
Open
- Dominant language
- Python
- Stars
- 918
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
gsutil incorrectly interprets the ending of object names ending in a generation-like suffix as being the actual generation of the object. For example, if an object named "object#1" exists in bucket "bucket",
`gsutil rm gs://bucket/**`
will fail because it tries to delete "object" with generation "1", as opposed to "object#1" with whatever its generation is. While it's hard to distinguish the meaning of "object#1" in a command line argument, gsutil should be able to correctly interpret the listing results.
Contributor guide
Assessment
This issue has not been assessed yet.