azureazure-data-factoryazure-file-copy

Azure Data Factory Copy Files


I want to copy files from one folder to another folder in data lake using ADF pipelines. Ex : a/b/c/d. TO a/b Here a,b,c,d are folders here I don't want to copy c,d folders .I have to copy the files inside those folders to 'b' folder.

I created a pipeline using Get Metadata , For each and in For Each I used copy activity.But here I am able to copy files with folder itself .I'm failing to remove folders.


Solution

  • I reproduced your scenario follow the below steps:

        @activity('Get Metadata1').output.childItems
    

    enter image description here

    Output