[solved] no dupe match

Discussion related to "Everything" 1.5 Alpha.
Post Reply
nova2k1
Posts: 15
Joined: Sun Dec 20, 2020 9:15 am

[solved] no dupe match

Post by nova2k1 »

Hi everyone

I'm using everything 1.5.0.1264a and this is what I try to do:

Assume there is a folder named foobar123 and a file foobar123.7z placed together in a root folder.
I have a bookmark to search the contents of that root folder so both are in my result list.
When I right click the name column and select "Find name Duplicates" there is only an empty result list.

I expected to see a match because the name is identical.
A custom filter only for folders and compressed files didn't change the result.

So my question is, is this a bug, working as intended or is my approach wrong?

kind regards
Last edited by nova2k1 on Tue Jun 22, 2021 6:27 am, edited 1 time in total.
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: [Bug/Limitation] no dupe match

Post by NotNull »

Working as intended. The name includes the file extension.

Try it with a different approach:

Code: Select all

regex:^.*\\(.+?)\\\1\.(zip|7z)$
That will find all .7z and .zip files that are in a folder with the same name (without extension).

So it will find c:\path to\something\something.zip and c:\folder\something else\something else.7z
void
Developer
Posts: 16676
Joined: Fri Oct 16, 2009 11:31 pm

Re: [Bug/Limitation] no dupe match

Post by void »

Assume there is a folder named foobar123 and a file foobar123.7z placed together in a root folder.
If the folder and file are in the same parent folder, please try the following search:

folder:regex:^(.*)$ fileexists:\1.7z

-This will list matching folders, if you wish to list the 7z files, please try the following search:

file:regex:^(.*)\.7z$ folderexists:\1
nova2k1
Posts: 15
Joined: Sun Dec 20, 2020 9:15 am

Re: [Bug/Limitation] no dupe match

Post by nova2k1 »

Thank you both for your replies.
folder:regex:^(.*)$ fileexists:\1.7z gives me a result I can work with.

Is it too naive of me to think that this should be covered by the dupe function/context menu entry, because it is quite likely a folder and a zip file with the same non generic name have the same contents and are therefore dupes.

kind regards
void
Developer
Posts: 16676
Joined: Fri Oct 16, 2009 11:31 pm

Re: [solved] no dupe match

Post by void »

The Right click Name column header -> Find Name duplicates function will simply remove results where the name is unique.

Find Name duplicates will only look at the name column.
Find Name duplicates doesn't take the path into account.

A Stem column can be added from Right click Name column header -> Index -> Stem.
However, finding dupes in this column will again only look in the Stem column. (path is ignored)

Ideally you would want a path + stem column. I will consider such a column.
Post Reply