Find folders with files with the same file name but with a different extension

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
salam
Posts: 2
Joined: Thu Sep 01, 2022 5:23 am

Find folders with files with the same file name but with a different extension

Post by salam »

Hi,
i want to find folders with files with the same file name but with a different extension
i tried this but it doesn't work

Code: Select all

regex:child:(.+)\.png  regex:child:(\1)\.jpg
regex:(child:(.+)\.png  child:(\1)\.jpg)
is there any other ways ?
Thanks.
void
Developer
Posts: 16747
Joined: Fri Oct 16, 2009 11:31 pm

Re: Find folders with files with the same file name but with a different extension

Post by void »

Please try the following Everything 1.5 searches:

<regex:^(.*)\.png$ fileexists:\1.jpg> | <regex:^(.*)\.jpg$ fileexists:\1.png>
dupe:path;stem

file-exists:
dupe:
salam
Posts: 2
Joined: Thu Sep 01, 2022 5:23 am

Re: Find folders with files with the same file name but with a different extension

Post by salam »

Both methods work well
thanks
Post Reply