Delete files with Odds numbers

Bulk Rename Utility How-To's

Delete files with Odds numbers

Postby Nivie » Wed Jun 14, 2023 10:07 pm

Hi, i have a folder with 600 files in it, numbered from 1 to 600. I'm trying to remove those files that finishes with an odd number, and i dont know how.
I'd appreaciate any help. It's really important
Nivie
 
Posts: 1
Joined: Wed Jun 14, 2023 10:01 pm

Present odd numbered files

Postby Luuk » Thu Jun 15, 2023 7:34 am

With Filters(12) having a checkmark inside for 'RegEx', the "Mask" could be like... ^\d*[13579]\.[^.]+$
So then clicking the blue-arrows beside "Mask" will present only the odd names inside of the file-listing.
Then can just Ctrl+A to select all of them for a right-click, and delete.
Luuk
 
Posts: 705
Joined: Fri Feb 21, 2020 10:58 pm

Present odd-numbered filenames up to 599

Postby Luuk » Sat Jun 17, 2023 12:03 am

To only present odd-numbers <600, so ranging anything like... 1-99, 01-599, 01-000599 ??
Then the "Mask" would need to look something more like... ^0*(\d?|[[1-5]\d)[13579]\.[^.]+$
Luuk
 
Posts: 705
Joined: Fri Feb 21, 2020 10:58 pm


Return to How-To