"Omit Results" command -- but as toggle?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

"Omit Results" command -- but as toggle?

Post by David.P »

Hello Community,

I have all my files saved in two locations:
  1. OneDrive (local copy)
  2. Local file server with Explorer drive letter (mostly synchronized with 1.)
I usually want to search for files in only one of these locations at a time.

What would be the best way to set up a toggle command to switch between searching in either OneDrive or the local file server?
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: "Omit Results" command -- but as toggle?

Post by void »

Result omission profiles are on my TODO list.

For now, the best option is probably filters:
  • In Everything, from the Search menu, click Add to Filters....
  • Change the Name to: OneDrive
  • Change the Search to:
    %userprofile%\OneDrive\
  • Click OK.
  • From the Search menu, click Add to Filters....
  • Change the Name to: Local
  • Change the Search to:
    !%userprofile%\OneDrive\
  • Click OK.
Filters can be activated from the Search menu, Filter bar (View -> Filters), right clicking the status bar, filter macro or filter keyboard shortcut.
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: "Omit Results" command -- but as toggle?

Post by David.P »

Thanks very much for the advice.

However, I'm already using filters extensively. For example, I use them for certain file types and also some advanced filters.

So, with this approach, I can probably use only either of my file type etc. filters, or the path filters, correct?
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: "Omit Results" command -- but as toggle?

Post by void »

Correct.

Consider a short macro for your OneDrive and Local filters.
Filters can be combined by using macros. eg: audio: | video:

For example: oo for OneDrive and ll for Local, then include oo: or ll: in your search.
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: "Omit Results" command -- but as toggle?

Post by David.P »

Just as a bookmark: the approach from this thread has resolved the present issue for me :D
Post Reply