Page 1 of 1

Extrude filter from folder

Posted: Fri Mar 25, 2022 8:24 am
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".

Re: Extrude filter from folder

Posted: Fri Mar 25, 2022 8:31 am
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.

Re: Extrude filter from folder

Posted: Fri Mar 25, 2022 9:52 am
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

Re: Extrude filter from folder

Posted: Fri Mar 25, 2022 9:57 am
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.

Re: Extrude filter from folder

Posted: Fri Mar 25, 2022 10:22 am
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!

Re: Extrude filter from folder

Posted: Thu Apr 06, 2023 7:14 am
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"**\**

Re: Extrude filter from folder

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

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

Re: Extrude filter from folder

Posted: Thu Apr 06, 2023 7:28 am
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.

Re: Extrude filter from folder

Posted: Thu Apr 06, 2023 7:33 am
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.

Re: Extrude filter from folder

Posted: Mon Apr 17, 2023 11:35 am
by Kiero_
Sorry for the delayed response. It's working great now!