[help] finding files with duplicate name across folders

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
don_don
Posts: 1
Joined: Fri Feb 16, 2024 7:38 pm

[help] finding files with duplicate name across folders

Post by don_don »

I create thousands of project files that get a unique 10 character ID (filename) plus extension. They are supposed to be filed in the address for that project. Sometimes, accidentally, I duplicate that unique ID into another address.
Example: - address is also folder name -
  • (A) 123 Main St has file 1201D01234
  • (B) 456 Fourth St has file 1598D55555
  • (C) 9987 Fortune Ave has file 1201D01234 = same ID as (A)
I want to present only (A) and (C)
There are too many files to uniquely enter each id and manually verify. I can easily use voidtools to filter by that extension and restrict matches to file names that are 10 characters long.

How could i use voidtools to find these files that are duplicated into different folders and not show me files that only exist once ?
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: [help] finding files with duplicate name across folders

Post by void »

You will need Everything 1.5.

In Everything 1.5, please try the following search:

"C:\path\to\addresses\" add-column:regmatch1 file:case:regex:^([A-Z0-9]{10})\.[^.]$

Change "C:\path\to\addresses\" to your addresses folder.
Right click the newly shown Regular Expression Match 1 column header and click Find Regular Expression Match 1 duplicates.



What are the valid characters used in your ID?
-Adjust [A-Z0-9] as needed.



Finding duplicates
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: [help] finding files with duplicate name across folders

Post by NotNull »

For a first impression when using Everything 1.4:
(assuming the file extension is .proj)

Code: Select all

exact:??????????.proj    dupe:
? = 1 random character

(untested, btw)
Post Reply