'How to retrieve complete Data from the folders that has subfolders. in minio?

using objects = s3Client.list_objects("sample", "samplefolder/sample1")

i managed to get into the folder, but i want to print/download the files in the folders that is sorted out with timestamp subfolders.

any idea on how to solve this ?



Solution 1:[1]

Setting the recursive parameter will do the trick – returns a flat list of paths.

objects = client.list_objects(minio_bucket, folder_name, recursive=True)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Joe Web