Delete Files
Description
Delete Files removes specified files or folders — including subfolders — from the file system. Use this process entry for broad file cleanup operations — for example, purging old data files matching a wildcard pattern, removing all files from a processing directory, or deleting output from previous runs before starting a new batch. It supports regular expression wildcards and subfolder inclusion for flexible targeting.
Configurations
| Field Name | Description |
|---|---|
| Process Entry name | Specify a unique name for the process entry, on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name. |
| Include Subfolders | Also delete the subfolders in the folder selection |
| Copy previous results to args? | Enable this if the set of files comes from a previous process entry (as part of the result files) |
| Fail If File Not Exist | Select the checkbox to fail the process when the file to be deleted does not exist. |
| File/Folder | The file or folder to delete NOTE: Click Add to add the file to the list of files / folder. |
| Wildcard | The regular expression matching files to delete if the previous option is a folder. For example, For example, Regular expression to delete files ending with .dat: • .*\.dat$ • .*dat |
| Files/Folders | The complete list of files/folders to delete |