DUPES with same FATHER

Discussion related to "Everything" 1.5.
midigator
Posts: 14
Joined: Sat Oct 04, 2014 2:12 pm

DUPES with same FATHER

Post by midigator »

Hello dear super users

I index my files with the SHA-1 property.

Does somebody have a pro tips to find dupes with the same Father name?

EX:
d:\Sample-IR\Reverb\Wav\Patch -------------------------------h3000, 990~ROBO DRUM (568)_dc.wav
e:\userDocs\sounds\IR-samplesLost\Patch -------------------------------\h3000, 990~ROBO DRUM (568)_dc
Last edited by void on Fri Jun 19, 2026 11:18 pm, edited 1 time in total.
Reason: cleaned up example formatting
midigator
Posts: 14
Joined: Sat Oct 04, 2014 2:12 pm

Re: DUPES with same FATHER

Post by midigator »

Thank to all friend who share knowledge with peoples wanting to learn
void
Developer
Posts: 20041
Joined: Fri Oct 16, 2009 11:31 pm

Re: DUPES with same FATHER

Post by void »

Just the start of the folder name?
Just the folders? or are you looking for the files inside the folders?

To find folders with the same starting word:
folder: regex:^(\w+) dupe:1 add-column:1




Finding duplicated ancestor names can't be done unless you know the name before hand.
To find files with a duplicated patch ancestor:
startwith:ancestor-name:patch
Herkules97
Posts: 240
Joined: Tue Oct 08, 2019 6:42 am

Re: DUPES with same FATHER

Post by Herkules97 »

I find it easier to use the pathing itself.
"\Patch"
This will find all the files like the start-with example does, but include the folder itself too.
The regex one might work, regex might also work more accurately.
But if you're lazy like me, the second line works better for your situation.

Then if you want files-only, I do !folder:

You could also find all the folders with Patch as the name, sort by name and select all that only has Patch or use whole:Patch I think works quicker.
Copy all the paths to those and use that in the search. Granted if in the upper folder for any of them there is say Patch(abc) then it would be included. I think with the first method, you can do "\Patch\" to get rid of that. For this method Idk, whole: doesn't include sub-stuff. Maybe there is one like whole: that excludes any additional root folders with more in the name but includes the files and folders for the Patch-only folders.

If you combine the hash with the second line and !folder: you'd presumably find what you're looking for.
"\Patch" SHA-1dupe: !folder:
I think is one of the ways to search it, I've never used SHA-1 in a search I don't think.
Void uses the dupe:x instead, I guess that would be
"\Patch" dupe:SHA-1 !folder:

Unless you only want folders in say the same depth that starts with Patch.
I guess for the examples you posted as they have the same depth, it would be depth:5?
Idk any better way, you'd have to find folders starting with Patch in depth:5 first, then copy their paths and use them in the search above.
Phlashman
Posts: 59
Joined: Sun Sep 11, 2022 4:57 am

Re: DUPES with same FATHER

Post by Phlashman »

does this work?

regex:\\Patch\\[^\\]+$ dupe:SHA-1 !folder:
NotNull
Posts: 5977
Joined: Wed May 24, 2017 9:22 pm

Re: DUPES with same FATHER

Post by NotNull »

Code: Select all

file:  dupe:SHA-1;parent-name