Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 8949

How to search for underscores to select file duplicates, whilst leaving out original files that may have underscores in them?

$
0
0

I have a bunch of files that have duplicated, with an "_1", "_2" etc added to the end. I know I can do a search to show everything with _1, but there are some files that also have _1 in the filename, about halfway through. Such a search would also bring up those orignal files, and I only want to delete the duplicates. Any ideas on how I can do this?

  • 20230528_134316
  • 20230528_134316_1
  • 20230528_134316_2

In this case, searching for _1 will also bring up the original file. How can I only select the duplicates? Maybe only searching the last couple digits in the filename? Maybe I can only show results where the _1 is the very end of the filename? I'm not sure how to do this. Thanks!


Viewing all articles
Browse latest Browse all 8949

Trending Articles