G.9 Type
Prev | Appendix G. Core selectors | Next

## G.9 Type

The `<type>` tag selects files of a certain type: directory or regular.

    <fileset dir="${src}">
      <type type="dir"/>
    </fileset>

Table G.9: Attributes for the `<type>` selector

Name | Description | Default | Required
--- | --- | --- | ---
`type` | The type of file which should be tested for. Either `file` or `dir`. | n/a | Yes

Prev | Up | Next
G.8 Size | Home | G.10 And