How to get filename from s3-list object?

I have to write the logic for the following scenario.

  1. Read all files from an s3 folder.
  2. Iterate and get the filename
  3. Need to write some business logic based on the filename.

Can anybody guide me on how to get the filename using s3-list plugin?

Hi @mkalawar,

Please find the sample script which will work fine with the S3-list plugin,

SCRIPT.txt (493 Bytes)

Please find the sample output screenshot for your reference,

Hope you have great day :slight_smile:


Your solution works for me.
Thanks Aravindhan!!

1 Like

You are most welcome :slight_smile: @mkalawar

1 Like