<img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="" referrerpolicy="no-referrer-when-downgrade"/>
taskstemplates
feedback & roadmapbook a demo

Frends.Files.Delete / 1.2.0

Source code
Frends 5.5+Crossplatformnet6.0

Delete 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