Exclude Wildcard Folder Names from Indexing

General discussion related to "Everything".
Post Reply
ClaveMan
Posts: 2
Joined: Sun Mar 04, 2018 6:18 pm

Exclude Wildcard Folder Names from Indexing

Post by ClaveMan » Sun Mar 04, 2018 6:31 pm

Newbie. Apologies..

Running 1.4.1.895 Everything on Windows 10 64bit

I want to exclude all folder matching a pattern such as ".metadata", or ".plugins" from my index.
I can see in the Tools->Options Everything Options dialog there is a tab labeled "Indexes->Exclude"

I can select individual folders and add them to the "Exclude folders" such as:

Code: Select all

C:\foo\.metadata\... thousands of temp files
C:\foobar\.metadata\... thousands of temp files
C:\bar\.metadata\... thousands of temp files
etc..

I can exclude files with a pattern like:

Code: Select all

*.class;*.java;*.foo;*.bar
Is there a way to exclude all folder paths holding a ".metadata" in the same way I can chain together exclude file names?
For example, say

Code: Select all

\*.metadata\;\*.plugins\;..

Stamimail
Posts: 761
Joined: Sat Aug 31, 2013 9:05 pm

Re: Exclude Wildcard Folder Names from Indexing

Post by Stamimail » Sun Mar 04, 2018 7:13 pm

Not tested,
but I think this is possible by
Options > NTFS > Include only: (<--for each drive)

Try to put a "!" before to exclude. example:

!"C:\foo\.metadata\... thousands of temp files" !"C:\foobar\.metadata\... thousands of temp files" !"C:\bar\.metadata\... thousands of temp files"

or try with semi-colons instead of spaces:

!"C:\foo\.metadata\... thousands of temp files";!"C:\foobar\.metadata\... thousands of temp files";"C:\bar\.metadata\... thousands of temp files"

Work for you?

Stamimail
Posts: 761
Joined: Sat Aug 31, 2013 9:05 pm

Re: Exclude Wildcard Folder Names from Indexing

Post by Stamimail » Sun Mar 04, 2018 7:46 pm

btw,
I don't know why, but I think the delimiter "\" doesn't work with the wildcard "*".
Please try:
!".metadata\";!".plugins\";..
or better:
folder: !"*.metadata";!"*.plugins";..

void
Site Admin
Posts: 6068
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclude Wildcard Folder Names from Indexing

Post by void » Mon Mar 05, 2018 6:55 am

To exclude folders named .metadata or .plugins:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Click Add filter....
  • Set the filter to:
    *.metadata
  • Click OK.
  • Click Add filter....
  • Set the filter to:
    *.plugins
  • Click OK.
  • Click OK.
Only one filter can be specified at a time, ie: you can not be use ; to separate folder filters, you must add another folder filter.
! does not work for exclude filters.

ClaveMan
Posts: 2
Joined: Sun Mar 04, 2018 6:18 pm

Re: Exclude Wildcard Folder Names from Indexing

Post by ClaveMan » Mon Mar 05, 2018 5:12 pm

void wrote:To exclude folders named .metadata or .plugins:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Click Add filter....
  • Set the filter to:
    *.metadata
  • Click OK.
  • Click Add filter....
  • Set the filter to:
    *.plugins
  • Click OK.
  • Click OK.
Only one filter can be specified at a time, ie: you can not be use ; to separate folder filters, you must add another folder filter.
! does not work for exclude filters.
I tried this one first. It works perfectly. Thank You!

It is so satisfying to hit Apply (after adding a new exclude expression) and watch files you don't want "disappear" (as object count in lower left goes down).
:D

void
Site Admin
Posts: 6068
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclude Wildcard Folder Names from Indexing

Post by void » Sun Jan 31, 2021 11:49 pm

Is it possible to exclude only the contents of for example browser's cache folder?

Like this
What browser are you using?

For example, to exclude your Firefox cache:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Click Add filter....
  • Set the filter to:
    C:\Users\*\AppData\Local\Mozilla\Firefox\Profiles\*\cache2\entries
  • Click OK.
  • Click OK.

Post Reply