英文:
minio - get files from Minio by date using Minio .NET SDK
问题
我正在尝试使用Minio + Minio .NET SDK创建一个应用程序,该应用程序将仅检索过去5分钟上传的所有文件,但似乎唯一的方法是浏览所有文件并获取它们的文件时间戳,这是相当低效的。是否有人在使用他们的SDK时成功使用日期参数?
英文:
I'm trying to create an application using Minio + Minio .NET SDK that'll retrieve all files uploaded in the past 5 minutes only, however, it seems like the only way is browse all the files and get their file timestamp which is quite inefficient. Has anyone had any luck using a date parameter with their SDK ?
答案1
得分: 0
刚刚与项目维护人员之一核实,截至目前,使用其 SDK(https://github.com/minio/minio/discussions/17470)不可能实现该功能。
然而,另一种可能的方法是使用minio控制台命令:
mc find --newer-than 5m
英文:
Just checked with one of the project maintainers, as of now, it's not possible to do so using their SDK (https://github.com/minio/minio/discussions/17470) .
However , an alternative could be using minio console commands
mc find --newer-than 5m
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论