14.2. delete
¶
This task deletes files and directories on the device. All files and directories matching the include
regexp pattern are deleted.
Run this task in “dry run” mode first to determine what is actually going to be deleted.
14.2.1. Attributes/Options¶
Name | Description | Required |
---|---|---|
include | Regular expression pattern defining what files and directories to delete. The match is done against the entire path of a file, including the filesystem (e.g., You cannot delete the root of the filesystem, though it is possible to delete everything under the root with the pattern |
Yes |
matchRequired | If set to Defaults to |
No |
dryRun | If set to Defaults to |
No |