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

How to perform Delete operation on sequence of .JPEG files? #66

Closed
StefanCepa opened this issue Jun 14, 2019 · 2 comments
Closed

How to perform Delete operation on sequence of .JPEG files? #66

StefanCepa opened this issue Jun 14, 2019 · 2 comments

Comments

@StefanCepa
Copy link

Hi! I was wondering how am I suppose to delete sequence of .JPEG files? Do I use create Key structure for each of them and then call Delete()? What is the most efficient way?

@kurin
Copy link
Owner

kurin commented Jun 15, 2019

Right now the best way is to use https://godoc.org/github.com/kurin/blazer/b2#Bucket.List to iterate over all the objects (or all the objects under a given prefix) and then call Delete() individually.

@StefanCepa
Copy link
Author

Okay. Thank you! I will try it out tomorrow, if I am successful with it I will close this issue :)

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

2 participants