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

0 Members and 1 Guest are viewing this topic.

Offline Angelika

  • Full Member
  • ***
  • Join Date: Feb 2017
  • Posts: 210
  • Karma: 0
    • 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 »

Online Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 7632
  • Location: UK
  • Karma: 110
    • 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: 165
  • 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

  • Full Member
  • ***
  • Join Date: Feb 2017
  • Posts: 210
  • Karma: 0
    • 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!

Online Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 7632
  • Location: UK
  • Karma: 110
    • 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 :)

 

anything