Show only folders in one hierarchy level having the 4 same first characters in its folder names?

Discussion related to "Everything" 1.5.
Post Reply
Biff
Posts: 1243
Joined: Mon May 25, 2015 7:09 am

Show only folders in one hierarchy level having the 4 same first characters in its folder names?

Post by Biff »

Is there a way to show only the folders in one hierarchy level having the 4 same first characters in its folder names?
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Show only folders in one hierarchy level having the 4 same first characters in its folder names?

Post by void »

folder: depth:3 regex:^(.{4}) dupe:1


folder: == folders only.
depth: == limit to a specific folder depth.
regex: == enable regular expressions
^ == match start of filename.
( ) == capture the match into regmatch1.
.{4} == match any character 4 times.
dupe:1 == list only duplicated regmatch1
Biff
Posts: 1243
Joined: Mon May 25, 2015 7:09 am

Re: Show only folders in one hierarchy level having the 4 same first characters in its folder names?

Post by Biff »

Thank you very much! Works great!
depth: == limit to a specific folder depth.
This is the depth always from the root folder? Independently of what folder is marked? Could one use an expression that counts the depth from the folder selected?
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Show only folders in one hierarchy level having the 4 same first characters in its folder names?

Post by void »

This is the depth always from the root folder?
Yes.


Independently of what folder is marked?
Could one use an expression that counts the depth from the folder selected?
Everything doesn't perform searches based on the current selection.
Biff
Posts: 1243
Joined: Mon May 25, 2015 7:09 am

Re: Show only folders in one hierarchy level having the 4 same first characters in its folder names?

Post by Biff »

Ah, okey, doesn’t matter at all, works great in any case.

Many thanks!
Post Reply