I'm trying to copy files to some folder location in ADLS. Here i'm trying to copy based on the file name. Here my source and destination is ADLS only.
For Ex.
If filename is ABC.csv then copy to ABC folder
If filename is DEF.csv then copy to DEF folder
If filename is XYZ.csv then copy to XYZ folder and so on.
Please help me achieving this using azure data factory v2.
I know this is easy task in SSIS. But in ADFv2 i tried using Foreach loop to iterate thru all the files (i have only 3 files) and inside foreach loop there is IF condition to check the file name. Not sure how to change the destination folder location in the run time.