How to copy only .csv files from a folder to azure blob . The folder is containing another folder inside and .csv files

Amar Agnihotri 891 Reputation points
2022-04-06T11:13:51.833+00:00

HI,
I have an adf copy activity pipeline which is copying files from aws S3 bucket to azure blob. Now the S3 bucket has a folder A and inside folder A there are 10 .csv files and another folder B which is again having 3 .csv files. I want to copy only 10 .csv files inside folder A and want to skip folder B. I tried wild card as -

190565-image.png

But this is not working because i believe sionce the folder B inside folder A also containing 3 .,csv files that's why wild card is picking up 10 .csv files from folder A and also folder B with 3 .csv files. I want to pick only 10 .csv files from folder A. Hope my question is clear. Please suggest a way to achieve this .

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,658 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful