Find duplicate file names based on partial name match
Posted: Sun Feb 04, 2024 2:03 pm
I have many files named like the below:
img-ddmmyyyy hhmmss-text.jpg
img-ddmmyyyy hhmmss.jpg
Example
img-01092016 153336-ps-ac acresults-img-01092016 153336.jpg
img-01092016 153336.jpg
img-01092016 152010-ps-ac acresults-img-01092016 152010.jpg
img-01092016 152010.jpg
etc.
they are in various subfolders (but all in 1 parent folder, N:\Photos)
The first section of the name is the same (the part before the extension)
Any suggestions as to how combine dupe with regex ^img-\d{8}\s\d{6}
I.e. everything to show file names where regex:^img-(\d{8}\s\d{6}) is the same.
Maybe it isn't possible...
Thanks.
img-ddmmyyyy hhmmss-text.jpg
img-ddmmyyyy hhmmss.jpg
Example
img-01092016 153336-ps-ac acresults-img-01092016 153336.jpg
img-01092016 153336.jpg
img-01092016 152010-ps-ac acresults-img-01092016 152010.jpg
img-01092016 152010.jpg
etc.
they are in various subfolders (but all in 1 parent folder, N:\Photos)
The first section of the name is the same (the part before the extension)
Any suggestions as to how combine dupe with regex ^img-\d{8}\s\d{6}
I.e. everything to show file names where regex:^img-(\d{8}\s\d{6}) is the same.
Maybe it isn't possible...
Thanks.