How to get recursively result?
favoyang opened this issue · 2 comments
favoyang commented
For s3 content
my-folder/subfolder/file1
my-folder/subfolder/file2
my-folder/subfolder/subsub/file3
Current lister.ls('my-folder/')
returns
files: []
folders: ['subfolder']
I would like to have lister.ls('my-folder/', recursively=true)
returns
files:
- subfolder/file1
- subfolder/file2
- subfolder/subsub/file3
folders:
- subfolder
- subfolder/subsub
Is this possible?
koresar commented
Yeap. That is possible. See the sibling project https://github.com/koresar/s3-tree
Tell me if it works for you.