add file filter from context menu

Have a suggestion for "Everything"? Please post it here.
gautxori
Posts: 12
Joined: Sat Nov 05, 2016 9:13 am

add file filter from context menu

Post by gautxori »

hello,

Would it be possible to create a filter, from the selection of one or more files in the file list, such that files with a similar name are filtered out of the list?
It would be a matter of creating a command similar to "Rename", which relies on the regular expression generation mechanism, but the operation would be to "filter files".
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: add file filter from context menu

Post by NotNull »

Do you want the that filter to include or exclude these similar items?
What do you consider similar? Similar as in:the exact same name, same folder, same age?

Everything 1.5 has a Temporary Omit feature. This way items can be tenmporary hidden from the result list.
gautxori
Posts: 12
Joined: Sat Nov 05, 2016 9:13 am

Re: add file filter from context menu

Post by gautxori »

I'm interested in excluding them, but include / exclude could be an option.
I'm using Everything 1.4,...

I'd like to see an excerpt of the "rename" dialog box, with the blocks selected in red,
Image
so that when I select any files, i'd have a text box to create a regular expression (or "command line pattern"),
Image

and that pattern would be converted to an exclusion filter in the search box:
Image

I know that it is not that simple as in the last picture, the expression must be converted so that it becomes an exclusion filter... and for me it is not intuitive how to convert the regular expression matching the original files, to an exclusion filter.
Can you help with that?
gautxori
Posts: 12
Joined: Sat Nov 05, 2016 9:13 am

Re: add file filter from context menu

Post by gautxori »

ok, simple as it could be: just need to add in search box

Code: Select all

!regex:"(pattern)"
, where (pattern) is the pattern in the rename box.
But it'd be nice to have a shortcut to get that in the search box.
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: add file filter from context menu

Post by NotNull »

Will move this topic to the Suggestions forum as that is currently not possible.
(except for adding the "!regex:.." to your search query, but I don't tell you anything new here)

If I understand correctly, you are looking for a way to generate a regex pattern based on a couple of selected filenames and use that pattern to exclude all files matching that pattern from the resultlist?


I do recommend installing Everything 1.5 as it has more options that come close to what you want, like (temporary) omitting files, using the Find bar (that is different fro the searchbar) to highlight files based on a (regex) pattern, etc.
meteorquake
Posts: 628
Joined: Thu Dec 15, 2016 9:44 pm

Re: add file filter from context menu

Post by meteorquake »

I would second that, I would advise everyone to move to the latest 1.5 -

viewtopic.php?t=9787#download

although called an alpha, it's generally at production quality with anything important raised generally quickly looked into. I wouldn't say that of many programs' alpha releases.

d
gautxori
Posts: 12
Joined: Sat Nov 05, 2016 9:13 am

Re: add file filter from context menu

Post by gautxori »

NotNull wrote: Sat Feb 08, 2025 2:44 pm Will move this topic to the Suggestions forum as that is currently not possible.
OK thanks.
NotNull wrote: Sat Feb 08, 2025 2:44 pm If I understand correctly, you are looking for a way to generate a regex pattern based on a couple of selected filenames and use that pattern to exclude all files matching that pattern from the resultlist?
That's it.
NotNull wrote: Sat Feb 08, 2025 2:44 pm I do recommend installing Everything 1.5 as it has more options that come close to what you want, ...
meteorquake wrote: Sat Feb 08, 2025 3:25 pm I would second that, I would advise everyone to move to the latest 1.5 -
viewtopic.php?t=9787#download
Seems the name "Everything Alpha 1.5" would be better suited (as if it was an "alpha", more powerful version, of Everything)
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: add file filter from context menu

Post by NotNull »

Nah, "alpha" is just Australian for "Gold Pro De Luxe" :D
(@void is from Australia)

But seriously: there is nothing "alpha" about Everything 1.5. It's solid.

Default setup runs version 1.5 and 14 side-by-side. So you can test 1.5 without interfering with your regualar 1.4 setup.
Bet you stop using version 1.4 within a week.
gautxori
Posts: 12
Joined: Sat Nov 05, 2016 9:13 am

Re: add file filter from context menu

Post by gautxori »

you were right