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.
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 |
domainPatterns
CLI alias: domains
|
Comma-delimited list of regular expression patterns defining what domains to apply the command to. Use ‘.*’ for all domains except the default. Use ‘.*,default’ to include the default domain. Defaults to the current domain. The current domain is specified using the |
No |