# Granular Control Over File Exclusion

**URL:** <https://forum.obsidian.md/t/granular-control-over-file-exclusion/61712>\
**Category:** Feature requests\
**Tags:** ui-ux\
**Created:** [June 17, 2023, 9:49am UTC](https://forum.obsidian.md/t/granular-control-over-file-exclusion/61712 "2023-06-17T09:49:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carter](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/c/e480ec/32.png) [@Carter](https://forum.obsidian.md/u/Carter)\
**Post date:** [June 17, 2023, 9:49am UTC](https://forum.obsidian.md/t/granular-control-over-file-exclusion/61712/1 "2023-06-17T09:49:41Z")

</div>

### Use case or problem

Use Cmd + O for quick search and switch note, but the search result is spammed with image files (i.e. \*.(png|jpg|jpeg))  
Then, I add the regex of images to exclude images in the search result.  
Preferences \> File & Links \> Excluded Files.  
However, in the note editor, when inserting an image, I do not want the images to be excluded.

### Proposed solution

For Excluded files, add advanced options, add execution setting for each palette (i.e. Cmd+O file search, in-editor insert)

---

<div class="post-metadata">

**Author:** ![davesilva](https://forum.obsidian.md/user_avatar/forum.obsidian.md/davesilva/32/42864_2.png) [@davesilva](https://forum.obsidian.md/u/davesilva)\
**Post date:** [July 30, 2023, 8:40am UTC](https://forum.obsidian.md/t/granular-control-over-file-exclusion/61712/2 "2023-07-30T08:40:50Z")

</div>

### Use case or problem

I frequently need to refer to project notes that are inside a Projects folder, and I count on Local Graph and Backlinks to observe these connections. But I don’t want these project notes showing up in Quick Switcher or File Search most of the time.

**Currently** : Excluded Files in the Files & Links config tab lets me hide the folder from all interfaces.

### Proposed solution

**Add** granular options for each Excluded Files rule. E.g.: for each rule, we can toggle:

- Show in Quick Switcher
- Show in File Search
- Show in Graph View
- Show in Unlinked Mentions

This way we’d have more control over where we make select files less noticeable.

### Related feature requests (optional)

> [@Granular Control Over File Exclusion](https://forum.obsidian.md/t/granular-control-over-file-exclusion/61712):
>
> Use case or problem Use Cmd + O for quick search and switch note, but the search result is spammed with image files (i.e. \*.(png|jpg|jpeg)) Then, I add the regex of images to exclude images in the search result. Preferences \> File & Links \> Excluded Files. However, in the note editor, when inserting an image, I do not want the images to be excluded. Proposed solution For Excluded files, add advanced options, add execution setting for each palette (i.e. Cmd+O file search, in-editor insert…

---

<div class="post-metadata">

**Author:** ![mnaoumov](https://forum.obsidian.md/user_avatar/forum.obsidian.md/mnaoumov/32/22325_2.png) [@mnaoumov](https://forum.obsidian.md/u/mnaoumov)\
**Post date:** [March 30, 2025, 7:19am UTC](https://forum.obsidian.md/t/granular-control-over-file-exclusion/61712/3 "2025-03-30T07:19:15Z")

</div>

Plugin [Plugin: Advanced Exclude](https://forum.obsidian.md/t/plugin-advanced-exclude/98974) allows to completely hide Excluded files
