GoogleCloudPlatform / GoogleCloudPlatform/gsutil

Wildcarded/recursive deletes of objects ending in #[\d]+ fail

Open
#342 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.