> ## Documentation Index
> Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Find files

> Search the file tree by name, with * as a wildcard

The search box above the file tree finds files and folders by name. It is the same box in the workspace panel, on a commit or shelf page, and in the folder pickers: **Choose folders to sync**, **Move**, **Upload**, and **New folder**.

## Plain text

Type part of a name. For example, `.dll` finds every file or folder whose name contains `.dll`, in any folder, including `core.dll.meta`. Upper and lower case do not matter.

![The file tree searched for .dll, showing every file whose name contains .dll with the text highlighted](https://mintcdn.com/diversion-2/ZDBt8dNvbODIC6vK/images/find-files-plain.png?fit=max\&auto=format\&n=ZDBt8dNvbODIC6vK\&q=85\&s=ba01bf9a7211d22df0e727dcf249a63c)

## Patterns with `*`

Add `*` to match a whole name instead of part of it. `*.dll` finds every file ending in `.dll`, wherever it is in the repository:

![The file tree searched for \*.dll, showing every .dll file in the workspace with .dll highlighted](https://mintcdn.com/diversion-2/ZDBt8dNvbODIC6vK/images/find-files.png?fit=max\&auto=format\&n=ZDBt8dNvbODIC6vK\&q=85\&s=b3a92799045d6f6f4d50bbb42fc9a838)

Put a folder name in front to search only there. `Binaries/Win64/*.dll` finds the `.dll` files directly inside that folder:

![The file tree searched for Binaries/Win64/\*.dll, showing only the two .dll files in that folder](https://mintcdn.com/diversion-2/ZDBt8dNvbODIC6vK/images/find-files-folder.png?fit=max\&auto=format\&n=ZDBt8dNvbODIC6vK\&q=85\&s=008ead3adaa15a8dc3c9228e50256e29)

A pattern must match the end of the path, starting at a folder boundary.

| Pattern | Finds | Does not find |
| - | - | - |
| `*.dll` | every file ending in `.dll`, in any folder | `core.dll.meta` |
| `plugins/*.dll` | `.dll` files directly inside a folder named `plugins` | `myplugins/x.dll`, `plugins/sub/x.dll` |
| `plugins/**/*.dll` | `.dll` files anywhere under a folder named `plugins` | |
| `/assets/*` | items directly inside the top-level `assets` folder | `src/assets/x` |
| `report*` | names that start with `report` | `myreport.txt` |
| `*report*` | names that contain `report` | |

The rules:

* `*` stands for any characters within one name, including none.
* `**` as a whole folder name stands for any number of folders, including none.
* A leading `/` starts the pattern at the top of the repository.
* Every other character stands for itself, including `?` and `.`.
* Upper and lower case do not matter.

Results show the matching files and the folders above them. In a workspace cloned to your computer, the search runs locally, so results are instant even on large projects.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.