Task deleteDirectory
Delete a single directory and its contents (recursively). Does not follow symlinks, even at top level. Will make multiple attempts, to avoid spontaneously created .DS_Store files on macOS.
Parameters accepted as attributes
Attribute | Description | Type | Required? |
directory | Specify the directory to be deleted. | String | Yes. |