Optionally, you can set a date range (today, last 3, 7 or 30 days, or older than 30 days) for when the file was created or last modified. The "Split" column splits each word into a separate parameter instead of grouping them together as a single query.The "Words" column searches from word boundaries (the beginning of a word, rather than anywhere within a word).You can also change the anchoring to broaden the search with wildcarding: You can exclude fields with the NOT column. If you need to search further fields, such as macOS Tags (kMDItemUserTags), you can add these fields here. Fieldsīy default, Alfred searches the display name, file name and Finder comments added to the file, which is usually sufficient to search for files by name. Only check the box to show files marked as System File if you really need to include these, as they'll otherwise add noise (and seemingly strange files) to your results. You can specify a search scope by dragging one or many folders into the Search Scope tab. You can just drag a png, a jpg and a gif into the File Types box instead to include these multiple file types in your filter. Sounds complicated? If you're not sure, don't worry about it. The ContentTypeTree goes from the most precise classification (png) to the broadest (content), so if you'd like to include anything that conforms to the public.image ContentTypeTree, press the + button and add a "+public.image" entry. When typing in the file types, you can add a specific ContentType or add a ContentTypeTree to broaden the file types.įor example, a png file is of the ContentType public.png, and a ContentTypeTree of Alternatively, type their UTIs (Uniform Type Identifier) in. To add File Types, drag files of the type you want from Alfred's results or from Finder into the File Types box. Leave this blank to search all file types, and specify the search scope instead. How you want to limit and sort the resultsįirst, you'll set the File Types you want to search.Search scope within which Alfred should search.In the File Filter input, you can specify: You can then trigger the file search using the file filter keyword or adding a hotkey. Rather than add every possible file type to your default Alfred results, or trawl through an unfiltered list of all files that match your search term, these finely focused filters will help you find the results you need in a moment. Creating your own File Filter WorkflowsĪ file filter allows you to narrow down your search to particular file types you want to find, making it easier to locate the file you need.File filter workflows are a fantastic way to create filtered searches where you specify the file types you want Alfred to search and/or the locations you want him to search in.