File Delete Action
Plugin version: 2.11.0
Deletes a file or files.
Configuration
Property | Macro Enabled? | Description |
---|---|---|
Path to desired file(s) to be removed | Yes | Required. The full path of the file or files that need to be deleted. If the path points to a file, the file will be removed. If the path points to a directory with no regex specified, the directory and all of its contents will be removed. If a regex is specified, only the files and directories matching that regex will be removed. |
Wildcard | Yes | Optional. Wildcard regular expression to filter the files in the source directory that will be removed. |
Continue Pipeline Upon Error | No | Indicates if the pipeline should continue if the delete process fails. If all files are not successfully deleted, the action will not re-create the files already deleted. Default is false. |
Example
This example deletes all files ending in .txt
from /source/path
:
Property | Value |
---|---|
Path to desired file(s) to be removed |
|
Wildcard |
|
Continue Pipeline Upon Error |
|
Created in 2020 by Google Inc.