# tf.io.matching_files

<br />

Returns the set of files matching one or more glob patterns.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.io.matching_files`](https://www.tensorflow.org/api_docs/python/tf/io/matching_files), [`tf.compat.v1.matching_files`](https://www.tensorflow.org/api_docs/python/tf/io/matching_files)

<br />

    tf.io.matching_files(
        pattern: _atypes.TensorFuzzingAnnotation[_atypes.String], name=None
    ) -> _atypes.TensorFuzzingAnnotation[_atypes.String]

Note that this routine only supports wildcard characters in the
basename portion of the pattern, not in the directory portion.
Note also that the order of filenames returned is deterministic.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `pattern` | A `Tensor` of type `string`. Shell wildcard pattern(s). Scalar or vector of type string. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `string`. ||

<br />