Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
markjaquith opened this issue Jun 11, 2019 · 0 comments
Open

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

markjaquith opened this issue Jun 11, 2019 · 0 comments

Comments

@markjaquith
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant