1.13. Element `delete`
Prev | 1. Reference | Next

### 1.13. Element `delete`

    <delete
      files = Glob pattern
      recurse = boolean : false
      quiet = boolean : false
    />

Deletes specified files.

Has no effect is specified wildcard does not match any file.

Will report an error if one of the specified files cannot be deleted. Attribute `quiet` can be used to suppress the error message when one of the specified files does not exist.

If attribute `recurse` is specified with value `true`, it will also recursively delete specified directories. Otherwise, if one of the specified files is a directory, it will report an error message.

Prev | Up | Next
1.12. Element `rmdir` | Home | 1.14. Element `copy`