find dupes where dup count > X

Discussion related to "Everything" 1.5 Alpha.
Post Reply
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

find dupes where dup count > X

Post by therube »

is something like this doable (or dup-able)?

find dupes where dup count > X
so
find dupes where dup count > 2
or
find dupes where dup count > 3


so if i'm duping sha-1 & i have dup'd sha1's of:
> 1234567 (that's my password, btw)
> 7654321
> 1357924
> 2456013

i'd only want dups of 1234567 if the count of 1234567 is > X (where X is some number - be is 3 or 4 or...)
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: find dupes where dup count > X

Post by NotNull »

Couple of months ago I asked myself the same question (figured someone would come up with it sooner or later).
Could not find a way.

And that made sense to me as Everything is item-oriented and not made for finding "relatives", unless specifically build-in afterwards.
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: find dupes where dup count > X

Post by therube »

just to clarify, at bit...

1234567, isn't a real sha-1 value, only a representation of a value

anyhow

file1 sha-1 1234567
file2 sha-1 1234567
file3 sha-1 1234567

file 1 2 3 are identical.

so i run the command:

> find dupes where dup count > 4

in this case, as there is only file1 file2 & file3, 3 files, nothing would be returned (as 3 < 4).

but, if i run:

> find dupes where dup count > 2

file1 file2 & file3 would be displayed, as there exits > 2 of that set of dups.
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: find dupes where dup count > X

Post by NotNull »

therube wrote: Thu Jun 22, 2023 8:47 pm so i run the command:

> find dupes where dup count > 4
Where do you run this command? Which find? What data?

This is outside of Everything, I suppose? Without Everything there are multiple options...

(BTW I tested with file sizes; same mechanism as for sha-*)
void
Developer
Posts: 16670
Joined: Fri Oct 16, 2009 11:31 pm

Re: find dupes where dup count > X

Post by void »

Currently, Everything doesn't have a function to find x duplicates.

A search function to do this is on my TODO list.
Thank you for the suggestion.
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: find dupes where dup count > X

Post by therube »

group_count (or more succinctly, count)
count of items in a 'group_lines' group

such that you could do
size:>100mb;group_count>3
meaning, /display/ only groups where the current sort has 4 or more items in that grouping


as it is, of late, i'll come up with "pairings" of files, & with those pairings, i expect to find "pairs" or 2 or 3
if i can filter out those 2's or 3's, such that only >3 were shown, that be of benefit
so "noise"; 2 or 3, is eliminated, & then i can more easily focus on why >3 might be turning up (where otherwise unexpected)
Post Reply