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 »

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: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Exclude Wildcard Folder Names from Indexing

Post by Stamimail »

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: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Exclude Wildcard Folder Names from Indexing

Post by Stamimail »

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
Developer
Posts: 15284
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclude Wildcard Folder Names from Indexing

Post by void »

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 »

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
Developer
Posts: 15284
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclude Wildcard Folder Names from Indexing

Post by void »

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.
Function
Posts: 13
Joined: Fri Jun 05, 2009 9:13 pm

Re: Exclude Wildcard Folder Names from Indexing

Post by Function »

Thank you so much for the explanation! This is where I found how to use the "Edit wildcard filter" button (it isn't really explained in the FAQ https://www.voidtools.com/support/every ... s/#exclude)
Post Reply