compare file names ignoring numbers

Open discussion about WinMerge.

compare file names ignoring numbers

Postby Rafow » Wed May 04, 2016 12:04 am

Hi,
I am wondering if there is a way to compare file names within two folders but ignore the numbers within the file name.
The file names would have the same names but also contain different number sequence at the start and end of the name.
Folder 1 1234_Filename_A_5678.xxx
Folder 2 4321_Filename_A_8765.xxx
I am not concerned about the contents of the files, just that each folder contains the same files.

Thanks
Rafow
 
Posts: 2
Joined: Fri Apr 29, 2016 8:02 pm

Re: compare file names ignoring numbers

Postby jtuc » Sun May 08, 2016 7:34 am

File filter for use with WinMerge 2011:
Code: Select all
## IgnoreDigits.flt

name: Ignore Digits
desc: Ignores digits in filenames

equiv-f: /(\d+)/g ## Filter for filename
jtuc
Developer
 
Posts: 182
Joined: Sat Dec 20, 2008 11:05 am


Return to Open Discussion

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

cron