minio / minio-js

MinIO Client SDK for Javascript
https://docs.min.io/docs/javascript-client-quickstart-guide.html
Apache License 2.0
920 stars 271 forks source link

Suggestions removeObjects with prefix #1273

Closed meyraa closed 4 months ago

meyraa commented 4 months ago

Hi, Is there a plan to make removeObjects accept a prefix instead of a list of objects?

prakashsvmx commented 4 months ago

No. just a prefix as argument is not an S3 Spec. You can list and pass the list of objects to remove objects method.