s3wipe icon indicating copy to clipboard operation
s3wipe copied to clipboard

Deleting s3://bucket/foo deletes s3://bucket/foo2

Open markjaquith opened this issue 5 years ago • 0 comments

I was trying to delete a directory called foo, but if I passed s3://bucket/foo/, it would not proceed, and if I passed s3://bucket/foo it would also delete s3://bucket/foo2

I worked around it by deleting s3://bucket/foo/1, s3://bucket/foo/2 and so-forth for every first character.

Two possible solutions: allow trailing slashes, or assuming a trailing slash after the input (i.e. don't delete partial paths).

markjaquith avatar Jun 11 '19 12:06 markjaquith