Tweaking.com Support Forums

Main Forum => General Computer Support => Topic started by: Angelika on October 23, 2017, 02:15:52 am

Title: [SOLVED]Find all duplicate names by pattern
Post by: Angelika on October 23, 2017, 02:15:52 am
How to Find all duplicate names by pattern:

I have an image file in the folder.

File names precede numbering with "#"(separator).


Example:
12345#65-_87AGYol.jpg

number#filename.jpg

duplicat:
654309#kl_76-KLK7L.jpg
98709#kl_76-KLK7L.jpg


(?-i)^[y|z|w]_[a-z0-9]{8}\.jpg
or
[a-zA-Z0-9_-]{11}\.jpg
Title: Re: Find all duplicate names by pattern
Post by: Boggin on October 23, 2017, 02:22:25 am
I don't know but I'll ask someone for you.
Title: Re: Find all duplicate names by pattern
Post by: jpm on October 23, 2017, 08:04:53 am
from a command prompt?

You could do something like "dir *kl_76-KLK7L.jpg /s"   if I understand the issue.  The "*" is wildcard so that says, give me a list of all the files that start with anything and end with kl_76-KLK7L.jpg .. The /s searched all the subdirectories from where you are at.

or if you just wanted files with KL7L in it that ended with anything extensions

dir *KL7L*.* /s

But I would just use a program.  ;)
http://www.majorgeeks.com/files/details/alldup.html


Title: Re: Find all duplicate names by pattern
Post by: Angelika on October 23, 2017, 09:05:01 am

Quote
But I would just use a program.  ;)
http://www.majorgeeks.com/files/details/alldup.html

The program fully meets my expectations.
Search method -> Similar Images

Thanks!
Title: Re: [SOLVED]Find all duplicate names by pattern
Post by: Boggin on October 23, 2017, 09:13:28 am
I'll give him a Karma point for you :)