G.5 Filename
Prev | Appendix G. Core selectors | Next

## G.5 Filename

The `<filename>` tag acts like the `<include>` and `<exclude>` tags within a fileset. By using a selector instead, however, one can combine it with all the other selectors using whatever selector container is desired.

    <fileset dir="${src}" includes="**/*">
      <filename name="**/*.php">
    </fileset>

Table G.5: Attributes for the `<filename>` selector

Name | Description | Default | Required
--- | --- | --- | ---
`name` | The name of files to select. The name parameter can contain the standard Phing wildcard characters. | n/a | Yes
`casesensitive` | Whether to pay attention to case when looking at file names. | `true` | No
`negate` | Whether to reverse the effects of this filename selection, therefore emulating an exclude rather than include tag. | `false` | No

Prev | Up | Next
G.4 Depth | Home | G.6 Present