Kenny_I
Kenny_I

Reputation: 2523

How to delete all files in root of File system with Delete Activity of Data Factory?

I have on-prem file System Data set with pathpath "Z:\ProjectX" It has contains files like Z:\ProjectX\myfile1.json

I would like to delete all json files in "Z:\ProjectX". I wonder how to do? What value should be set to Folder?

enter image description here

Upvotes: 0

Views: 1039

Answers (1)

NiharikaMoola
NiharikaMoola

Reputation: 5074

In source settings, select the File path type as Wildcard file path and provide the Wildcard file name as ‘*.json’ to delete all the files of type JSON.

enter image description here

Upvotes: 1

Related Questions