I have an Azure DevOps Windows Machine File Copy task that is deploying a build artifact to a remote server. I would like to be able to clean the target directory excluding specific files/folders. My use case is that my app generates logging information that I don't want wiped on redeploy.
The Windows Machine File Copy task only seems to contain a checkbox option for "clean." I'd love to be able to use something like the Delete Files task minimatch patterns.