Page 1 of 1

Delete files with Odds numbers

PostPosted: Wed Jun 14, 2023 10:07 pm
by Nivie
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

Present odd numbered files

PostPosted: Thu Jun 15, 2023 7:34 am
by Luuk
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.

Present odd-numbered filenames up to 599

PostPosted: Sat Jun 17, 2023 12:03 am
by Luuk
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]\.[^.]+$