include subfolder or NOT

Have a suggestion for "Everything"? Please post it here.
Post Reply
metinan
Posts: 4
Joined: Thu Nov 04, 2021 10:33 am

include subfolder or NOT

Post by metinan »

Search menu: Everthing, Audio, Compressed, Document etc.....

But I want to search only main folder in, not include subfolder..

Can be add a "Exclude Subfolder" option in the 'Search Menu'

Thanks & Regards
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: include subfolder or NOT

Post by void »

Prefix your folder search with the parent: search function.

For example:

parent:c:\windows
metinan
Posts: 4
Joined: Thu Nov 04, 2021 10:33 am

Re: include subfolder or NOT

Post by metinan »

Thanks! But not so pratical.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: include subfolder or NOT

Post by NotNull »

metinan wrote: Tue Dec 28, 2021 12:33 pm But not so pratical.
Do you have a suggestion on how this can be improved?


There is also an option to do an Advanced Search (in the menu, under the Search entry).
Most commonly used search functions are presented here in a GUI, so you can specify to include subfolders or not:

2021-12-28 17_45_48-Window.png
2021-12-28 17_45_48-Window.png (3.27 KiB) Viewed 4663 times
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: include subfolder or NOT

Post by void »

With Everything 1.5, you will be able to add \* to exclude subfolders.

For example:

c:\windows\*

will find files/folders directly in c:\windows (no results from subfolders)



A treeview/folder sidebar is also in development. (with a subfolders checkbox)
metinan
Posts: 4
Joined: Thu Nov 04, 2021 10:33 am

Re: include subfolder or NOT

Post by metinan »

Well! :!: ;)
Thank You :o

First: BackSpace, bacause there is "one space".. Then "*"...
Good idea

That space might be removed from there ??
You can do everything!

Thanks again for Everything

Regards.
froggie
Posts: 301
Joined: Wed Jun 12, 2013 10:43 pm

Re: include subfolder or NOT

Post by froggie »

void wrote: Tue Dec 28, 2021 11:08 pm With Everything 1.5, you will be able to add \* to exclude subfolders.

For example:

c:\windows\*

will find files/folders directly in c:\windows (no results from subfolders)
This only works (is equivalent to parent:) when " March Whole Filename When using Wildcards" is checked -- or am I confused??
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: include subfolder or NOT

Post by raccoon »

froggie wrote: Fri Feb 11, 2022 4:26 pm This only works (is equivalent to parent:) when " March Whole Filename When using Wildcards" is checked -- or am I confused??
It works because wildcards_star_all=0 (default) excludes the characters slash (/) and backslash (\). Thus, they will never match any file names beneath any child folders because a backslash would be present.

Use of globbing wildcards ? and * also make it so the entire pattern (a spaceless or quoted path) matches from beginning to end with anchorage because of match_whole_filename_when_using_wildcards=1 (default). That is, the wildcard (*) doesn't just "give up" until it reaches the last character. If you changed this setting to 0 then the wildcard (*) would "give up" when it reaches a backslash (\), and succeed not fail.
meteorquake
Posts: 503
Joined: Thu Dec 15, 2016 9:44 pm

Re: include subfolder or NOT

Post by meteorquake »

I've not explored the macro function but I would presume if parent: is cumbersome to type you could give it a Filter equivalent named say p and then use p: instead of parent:
David
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: include subfolder or NOT

Post by NotNull »

meteorquake wrote: Fri Feb 11, 2022 5:45 pm I've not explored the macro function but I would presume if parent: is cumbersome to type you could give it a Filter equivalent named say p and then use p: instead of parent:
David
Unless you already have a P:-drive :)
Post Reply