How can I exclude document files?

General discussion related to "Everything".
Post Reply
GuyFox
Posts: 3
Joined: Tue Apr 09, 2024 1:24 pm

How can I exclude document files?

Post by GuyFox »

Hello,

I'm new to using Everything, and I've also installed the Everything Toolbar alongside it. While I've managed to exclude some Microsoft documents and folders, I'm struggling to exclude certain files. Specifically, I'm unsure how to exclude files using the Options menu under "Exclude."

I've attempted to exclude files through Options > Exclude, but unfortunately, it hasn't been successful. Additionally, it's worth noting that my documents are named using Persian language characters rather than Latin characters.

Could you please advise on how to properly exclude files from both the Everything search and the search process for the Everything Toolbar?

Thank you in advance.
Guy
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: How can I exclude document files?

Post by void »

To exclude C:\Users\user\Documents :
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Click Add Folder....
  • Select C:\Users\user\Documents and click OK.
    (where user is your username)
  • Click OK.

-or-


To exclude all document files from any folder:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Change Exclude files (at the bottom of the page) to:
    *.txt;*.doc;*.docx;*.xls;*.xlsx;*.pdf
    (add extensions as needed)
  • Click OK.
GuyFox
Posts: 3
Joined: Tue Apr 09, 2024 1:24 pm

Re: How can I exclude document files?

Post by GuyFox »

void wrote: Tue Apr 09, 2024 11:02 pm To exclude C:\Users\user\Documents :
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Click Add Folder....
  • Select C:\Users\user\Documents and click OK.
    (where user is your username)
  • Click OK.

-or-


To exclude all document files from any folder:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Change Exclude files (at the bottom of the page) to:
    *.txt;*.doc;*.docx;*.xls;*.xlsx;*.pdf
    (add extensions as needed)
  • Click OK.

Hi Void,

As previously mentioned, I need to specify which documents within a folder should be excluded from indexing, rather than excluding the entire folder or specific file extensions. For example, imagine there's a folder with below document name:

1- projects, 2- private, 3- travel 4- children 5- family 6- house

Now I wish to exclude just “private” and “family” documents from search and indexing, not the rest of document files.
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: How can I exclude document files?

Post by void »

Are these files located in a specific location?



As a general catch all, please try excluding any files that include private or family:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Set Exclude files (at the bottom of the window) to:
    *private*;*family*
  • Click OK.


Same as above, but only match private or family as whole words:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Set Exclude files (at the bottom of the window) to:
    regex:\bprivate\b;regex:\bfamily\b
  • Click OK.


To files containing private or family in a certain folder:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Set Exclude files (at the bottom of the window) to:
    c:\users\user\my documents\**private*;c:\users\user\my documents\**family*
    (where c:\users\user\my documents is your desired folder)
  • Click OK.
GuyFox
Posts: 3
Joined: Tue Apr 09, 2024 1:24 pm

Re: How can I exclude document files?

Post by GuyFox »

void wrote: Wed Apr 10, 2024 6:52 am Are these files located in a specific location?



As a general catch all, please try excluding any files that include private or family:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Set Exclude files (at the bottom of the window) to:
    *private*;*family*
  • Click OK.


Same as above, but only match private or family as whole words:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Set Exclude files (at the bottom of the window) to:
    regex:\bprivate\b;regex:\bfamily\b
  • Click OK.


To files containing private or family in a certain folder:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Set Exclude files (at the bottom of the window) to:
    c:\users\user\my documents\**private*;c:\users\user\my documents\**family*
    (where c:\users\user\my documents is your desired folder)
  • Click OK.
They're.docx files and tried with ; and also regex, once it hides, next time it couldn't!.docx files names are in Persian language, not Latin, but I don't know why the first time hide them. Next time I remove then set in the exclude field, it couldn't and show in search, while I waited to re-index.
Anyway, I tried more, thank you.
Post Reply