Greetings & Welcome to Microsoft Q&A forum! Thanks for posting your query!
In Azure Data Factory (ADF), you can use wildcard patterns in the copy activity to filter files based on naming conventions. For your specific case, you can set the wildcard Folder Path to target the "Painting" and "Sketching" folders under both "SubFolder1" and "SubFolder2".
Wildcard paths: Using a wildcard pattern will instruct the service to loop through each matching folder and file in a single source transformation. This is an effective way to process multiple files within a single flow. Add multiple wildcard matching patterns with the plus sign that appears when you hover over your existing wildcard pattern.
For additional information, please refer: https://learn.microsoft.com/en-us/azure/data-factory/connector-azure-blob-storage?tabs=data-factory#source-transformation
Additionally, to delete the files after copying, you can use the Delete activity in ADF. You would configure the Delete activity to point to the same paths you used in the copy activity, ensuring that it targets the files you just copied.
I hope this information helps. Please do let us know if you have any further queries.
If this answers your query, do click `Accept Answer`
and `Yes`
for was this answer helpful. And, if you have any further query do let us know.