Author Topic: [SOLVED]Find all duplicate names by pattern  (Read 8879 times)

0 Members and 1 Guest are viewing this topic.

Offline Angelika

  • Sr. Member
  • ****
  • Join Date: Feb 2017
  • Posts: 307
  • Karma: -2
    • View Profile
[SOLVED]Find all duplicate names by pattern
« 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
« Last Edit: October 23, 2017, 09:11:07 am by Angelika »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Find all duplicate names by pattern
« Reply #1 on: October 23, 2017, 02:22:25 am »
I don't know but I'll ask someone for you.

Offline jpm

  • Administrator
  • Full Member
  • *****
  • Join Date: Mar 2015
  • Posts: 185
  • Karma: 36
    • View Profile
    • Tweaking.com
Re: Find all duplicate names by pattern
« Reply #2 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



Offline Angelika

  • Sr. Member
  • ****
  • Join Date: Feb 2017
  • Posts: 307
  • Karma: -2
    • View Profile
Re: Find all duplicate names by pattern
« Reply #3 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!

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: [SOLVED]Find all duplicate names by pattern
« Reply #4 on: October 23, 2017, 09:13:28 am »
I'll give him a Karma point for you :)