Extrude filter from folder

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Kiero_
Posts: 11
Joined: Fri Mar 25, 2022 8:15 am

Extrude filter from folder

Post by Kiero_ »

Hello.
I have .jpg files on a network drive. The .jpg files have similar names and are located in different folders. For example:
Myimage.jpg is in folder X:\work\to do\etc
The next file is named
Myimage.jpg is in folder X:\work\is done maybe\etc
How to create a filter that, when searching for Myimage.jpg, will exclude files in folders that contain the name "done".
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: Extrude filter from folder

Post by void »

To create a filter to exclude files/folders from a folder containingg the name "done":
  • In Everything, from the Search menu, click Add to filters....
  • Change the Name to: Not Done
  • Change the Search to: !*done*\*
    (to match whole words only, please use: regex:path:\bdone\b.*\\ )
  • 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.
Kiero_
Posts: 11
Joined: Fri Mar 25, 2022 8:15 am

Re: Extrude filter from folder

Post by Kiero_ »

I have some kind of problems.
The word "koloryzacje" in my case is contained in the words of folders that are excluded from the search (and their contents). In the first example (photo 1), after applying the filter, it does not search for any files.

Image


In the second example (photo 2), folders that contain the name "koloryzacje" still display the files contained in those folders.
Image

In the third photo you can see an example of a path containing a folder of several words and the keyword "koloryzacje" which should ignore the files when searching.
Image
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: Extrude filter from folder

Post by void »

Please make sure the Not Done filter is active under the Search menu.


Please try the following filter search:
  • In Everything, from the Search menu, click Organize filters....
  • Select Not Done and click Edit....
  • Change the Search to:
    !**koloryzacje**\**
  • Click OK.
  • Click OK.

For whole words only, Please try the following filter search:
  • In Everything, from the Search menu, click Organize filters....
  • Select Not Done and click Edit....
  • Change the Search to:
    regex:path:\bkoloryzacje\b.*\\
  • Click OK.
  • Click OK.
Kiero_
Posts: 11
Joined: Fri Mar 25, 2022 8:15 am

Re: Extrude filter from folder

Post by Kiero_ »

Works perfect! Thanks for help!
I would also like to mention that the everything program is an extremely good program and makes our work easier. Thanks!
Kiero_
Posts: 11
Joined: Fri Mar 25, 2022 8:15 am

Re: Extrude filter from folder

Post by Kiero_ »

I come with a problem again. Wanting to add other folders to exclude, I created a filter that should exclude folders containing the words 'colorization', 'images' and 'photo 360'. Unfortunately, it doesn't work. With one word, it works great, but combining several exclusions doesn't give me the intended result. What am I doing wrong? I would also like to add that the folder named 'photo 360' has a space in it, which is why I used quotation marks.

My filter:

!**colorization**\**|!**images**\**|!"photo 360"**\**
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: Extrude filter from folder

Post by void »

For Everything 1.4, please make sure there is a ** at the start of your path filter:

!**colorization**\**|!**images**\**|!"**photo 360**\**"
Kiero_
Posts: 11
Joined: Fri Mar 25, 2022 8:15 am

Re: Extrude filter from folder

Post by Kiero_ »

void wrote: Thu Apr 06, 2023 7:19 am For Everything 1.4, please make sure there is a ** at the start of your path filter:

!**colorization**\**|!**images**\**|!"**photo 360**\**"
Are you sure the quotation mark at the end of the filter is in the right place? It seems to me that it should look like this !**colorization**\**|!**images**\**|!"**photo 360**"\** . Nevertheless, both your version and mine do not work correctly. I have the latest version of Everything 1.5.
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: Extrude filter from folder

Post by void »

The quotes can go anywhere, they are only needed to escape the space.
"**photo 360**\**"
is the same as:
!**photo" "360**\**
is the same as:
!"**photo 360**"\**



Perhaps the space between photo and 360 is not matching, please try the following search:

!**colorization**\**|!**images**\**|!**photo*360**\**



Could you please provide the exact full path that is still showing up in your search?



You can also trim your search down to:

!*colorization*\**|!*images*\**|!*photo*360*\**

Only ** is required at the end of the search term to match subfolders/files.
Kiero_
Posts: 11
Joined: Fri Mar 25, 2022 8:15 am

Re: Extrude filter from folder

Post by Kiero_ »

Sorry for the delayed response. It's working great now!
Post Reply