Skip to content

List and Delete Files

This tasks allows you to remove multiple files from a location on your local machine or network, using an optional search pattern. The task wraps the provided List Files and Delete File tasks to make them easier to use in Workflows and reduce the number of tasks required.

Settings

Folder

Optional
The directory containing the files to list. Use a dot to list files in the workflow's working directory, or the path to the folder.

Move to Recycle Bin

Required
Optionally move the deleted file(s) to the recycle bin rather than permanently deleting them. Defaults to False.

Recursive

Required
Set to true if you want the task to list all files in sub-directories, or false to only list files in the directory specified.

Search Pattern

Optional
Allows you to specify the type of files to be processed. For example, *.xml will only list files with the .xml extension. This should be set to Data Type: Text or script

Zynk Settings

See Common Task Settings