Delete Files
deletes files and directories
Processing
For each input row, the step deletes a given path.
Settings
Name | Type | Description |
---|---|---|
Filesystem |
dict |
The filesystem to use. If the filesystem is Evaluated for each input row |
Path |
string |
The path to delete. Relative paths are interpreted as relative to the flow file. Evaluated for each input row |
Pattern |
string |
If pattern is If non-empty, the path is treated as a directory, all directory entries are matched by name, and all matching entries are deleted. The pattern is a regular expression. Matching names are deleted. Examples:
Evaluated for each input row |
If Not Exists |
string |
Determines the course of action when files to be deleted do not exist:
Evaluated for each input row |
Test Mode |
boolean |
If checked, the step logs delete operations, but does not actually delete anything. If unchecked, the step deletes files as configured. Evaluated for each input row |
Results
This step does not provide any results.