Frends.Files.Delete / 1.2.0
Source codeDelete files.
Pattern matching
Delete Task uses pattern matching for deleting files.
The search starts from the root directory defined in the input parameters.
* to match one or more characters in a path segment
** to match any number of path segments, including none
Examples:
**\output\*\temp\*.txt
matches:
-
test\subfolder\output\2015\temp\file.txt
-
production\output\2016\temp\example.txt
**\temp*
matches
prod\test\temp123.xml
test\temp234.xml
subfolder\**\temp\*.xml
matches
subfolder\temp\test.xml
subfolder\foo\bar\is\here\temp\test.xml