Page 1 of 1

[help] finding files with duplicate name across folders

Posted: Fri Feb 16, 2024 7:54 pm
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 ?

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

Posted: Fri Feb 16, 2024 10:27 pm
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

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

Posted: Fri Feb 16, 2024 10:33 pm
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)