Member since
06-10-2022
2
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 4542 | 06-14-2022 03:01 PM |
06-14-2022
03:01 PM
I was able to solve this problem. I will sahre the way to delete the files that there are inside the specific path. First I list the files as show in the first picture. Delete S3 1.PNG I had to set the bucket name, delimiter and prefix as shown in the second and third images. Delete S3 2.PNG Delete S3 3.PNG The prefix is used to filter the files from the path. (In this case Buketname/To_Proccess/Input/ File1.txt File2.txt File3.txt ) The delimeter is '/' After that I use RouteOnAttribute and set it to filter the '/' as is showed in the picture: Delete S3 4.PNG And the last step is configure DeleteS3Object process where only have to set the name of the bucket. In my case 'Bucketname'. Delete S3 5.PNG All these proccess delete File1.txt, File2.txt, File3.txt but not delete the path '/To_Proccess/Input/' inside the bucket.
... View more