-1

I want to get all the folder keys recusively without files.

Example, FolderA FolderA/FolderB FolderA/FolderB/FolderC FolderC FolderD

Thanks.

Kathire
  • 53
  • 1
  • 8
  • Hi Kathire. Can you please explain how this is not a duplicate of your previous question? https://stackoverflow.com/questions/38923661/printing-all-keys-of-files-and-folders-recursively-doesnt-work-as-expected – Mark B Aug 13 '16 at 19:42

1 Answers1

2

Although S3 does not have a concept of "folder" (see here), it lets you perform hierarchical operations using "prefix" and "delimiter".

You can look at the Java API here.

Community
  • 1
  • 1
Dasharath
  • 549
  • 4
  • 15