Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

List files from various but not all folders in S3 Bucket using ListS3.

List files from various but not all folders in S3 Bucket using ListS3.

Hello there, I need to list files from various but not all folders in S3 Bucket using ListS3.

Please suggest how to achieve this.

Example

S3 Bucket Name : nifiBucket
Folders	       : ABC, DEF, GHI, JKL, MNO

I can list down files in any one of the directories by mentioning the path in Prefix property.My Usecase needs to list down files from ABC, DEF and JKL only. 

I can use multiple ListS3 processors with different values in prefix property but I have more than 20 folders to choose. 
Don't have an account?
Coming from Hortonworks? Activate your account here