Only show duplicates when there are exactly 2 duplicates?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
dedupeit
Posts: 59
Joined: Thu Jul 28, 2022 9:52 pm

Only show duplicates when there are exactly 2 duplicates?

Post by dedupeit »

Is there a way to show dupes only when there are 2 (or N) dupes? dupe-max will limit how many dupes are listed in the result, which is not what I'm looking for.
NotNull
Posts: 5890
Joined: Wed May 24, 2017 9:22 pm

Re: Only show duplicates when there are exactly 2 duplicates?

Post by NotNull »

For n = 5 (exactly 5 entries in the duplicate group):

Code: Select all

dupe:  dupemin:5  dupemax:5 
dedupeit
Posts: 59
Joined: Thu Jul 28, 2022 9:52 pm

Re: Only show duplicates when there are exactly 2 duplicates?

Post by dedupeit »

NotNull wrote: Tue Jan 07, 2025 11:01 pm For n = 5 (exactly 5 entries in the duplicate group):

Code: Select all

dupe:  dupemin:5  dupemax:5 
I don't think this is doing what I'm looking for. Let's say that I have a file that's duplicated 4 times (based on whatever criteria I'm using...let's say size). if I add dupemin:2 and dupemax:2, it will still show 2 of those 4 files. I'm trying to figure out how to exclude these files from the results altogether as there are more than 2 duplicates in the group.
NotNull
Posts: 5890
Joined: Wed May 24, 2017 9:22 pm

Re: Only show duplicates when there are exactly 2 duplicates?

Post by NotNull »

Ah, I misread ..
I'm currently not aware of a way to do this, but will sleep on it.


EDIT:
Had a good night sleep (;)) and came up with:
dupe: dupe-min:5 !dupe-min:6
, but that didn't work.
Back to sleep ..
void
Developer
Posts: 19068
Joined: Fri Oct 16, 2009 11:31 pm

Re: Only show duplicates when there are exactly 2 duplicates?

Post by void »

There's currently no option to find exactly n duplicates.

I will look into adding functionality to do this.

the dupemax is badly named.
I should rename this to dupecount:
(limit the number of duplicates shown to the specified number -same behavior as count: )
dedupeit
Posts: 59
Joined: Thu Jul 28, 2022 9:52 pm

Re: Only show duplicates when there are exactly 2 duplicates?

Post by dedupeit »

NotNull wrote: Tue Jan 07, 2025 11:21 pm EDIT:
Had a good night sleep (;)) and came up with:
dupe: dupe-min:5 !dupe-min:6
, but that didn't work.
Back to sleep ..
:lol:
void wrote: Wed Jan 08, 2025 12:07 am There's currently no option to find exactly n duplicates.

I will look into adding functionality to do this.

the dupemax is badly named.
I should rename this to dupecount:
(limit the number of duplicates shown to the specified number -same behavior as count: )
Gotcha...thank you!
void
Developer
Posts: 19068
Joined: Fri Oct 16, 2009 11:31 pm

Re: Only show duplicates when there are exactly 2 duplicates?

Post by void »

Everything 1.5.0.1397a improves finding duplicates.

dupe-max: has been renamed to dupe-count:

dupe-count: will now limit the number of duplicates shown.

dupe-max: will now find duplicates where the number of duplicates is less than or equal to the specified maximum count.



dupe-min:
dupe-max:
dupe-count:
dedupeit
Posts: 59
Joined: Thu Jul 28, 2022 9:52 pm

Re: Only show duplicates when there are exactly 2 duplicates?

Post by dedupeit »

void wrote: Fri Sep 05, 2025 5:20 am Everything 1.5.0.1397a improves finding duplicates.

dupe-max: has been renamed to dupe-count:

dupe-count: will now limit the number of duplicates shown.

dupe-max: will now find duplicates where the number of duplicates is less than or equal to the specified maximum count.



dupe-min:
dupe-max:
dupe-count:
Amazing, appreciate all that you do void!
therube
Posts: 5500
Joined: Thu Sep 03, 2009 6:48 pm

Re: Only show duplicates when there are exactly 2 duplicates?

Post by therube »

dupe-min:<count>


Thank you for bringing that to my attention.
Makes my search HUGELY more efficient :-).
Post Reply