Page 1 of 1

Delete names with digits only

Posted: Mon Sep 02, 2019 4:19 am
by webmys
When pictures are taken they are given a numeric string. When I have edited them, I save them using words. Is there any way to delete only duplicates that have names that consist only of numbers?

Re: Delete names with digits only

Posted: Mon Sep 02, 2019 12:01 pm
by DigitalVolcano
In your duplicate list you can mark files with numbers in their name using the Selection Assistant - Mark by Text Pattern tool:

-Column Name: File Name
-Text: [0-9]
-"Use Regular Expressions" checkmarked

Re: Delete names with digits only

Posted: Mon Sep 02, 2019 7:00 pm
by webmys
It looks like that will delete any names that have any digits in them. I'm trying to mark only those that have NO letters in them; just numbers. Is there a way to do that? Thanks.

Re: Delete names with digits only

Posted: Mon Sep 02, 2019 7:30 pm
by DigitalVolcano
For all numbers you'll want something like-

Code: Select all

^[0-9]*\.jpg
depending on the file format