Select image range: how to select file-1 to file-500 ?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
wishgranter042
Junior Member
Junior Member
Posts: 2
Joined: 2022-04-28, 10:34 UTC

Select image range: how to select file-1 to file-500 ?

Post by *wishgranter042 »

Hello all

Can you please help me with proper way how to select desired image range ?
i have folders with 10k imgs and need select just smal range

A__00001.jpg is example image name and need select images from A__00001.jpg to A__00500.jpg

waht are the cmd line parameters to set it properly or regular expression-syntax to do this ?
User avatar
nsp
Power Member
Power Member
Posts: 1804
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Select image range: how to select file-1 to file-500 ?

Post by *nsp »

you can define a selection scheme like A__00([0-4][0-9][0-9]|500)\.jpg and tick Regexp when using numpad +. You can redefine as you want each time want a similar search...

-edited as first response selected up to 599 -
User avatar
white
Power Member
Power Member
Posts: 4619
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Select image range: how to select file-1 to file-500 ?

Post by *white »

regex: __00[0-4]
finds __00000 to __00499 (not strict)

regex: ^A__00([0-4]\d{2}|500).jpg$
finds A__00000.jpg to A__00500.jpg (very strict)

And everything in between depending on your wishes.
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Select image range: how to select file-1 to file-500 ?

Post by *petermad »

2wishgranter042
If your files are ordered in the sequence you want them, you can just place the cursor on the first file and run the command cm_Select 500
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Stefan2
Power Member
Power Member
Posts: 4157
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Select image range: how to select file-1 to file-500 ?

Post by *Stefan2 »

Hello and welcome 2wishgranter042


For to use the RegEx example, press the '+'-key on the separate numpad of your keyboard.
Or see menu Mark
Use '<' as first sign to enable regex


For to use the cm_Select 500 -command, enter that in TCs command line box at the bottom
(or create a button if you need that more often:
Command: cm_Select ?500
Para:
Start in:
Icon: wcmicons.dll
Tooltip: Execute cm_Select and ask for amount, default to 500)
History.txt wrote: 15.06.16 Release Total Commander 9.0 beta 2 (32/64)
14.06.16 Added: Commands with numerical parameters like CM_SELECT now support ? or ?number as parameter, to get dialog box with value request (32/64)




 HTH? :D
wishgranter042
Junior Member
Junior Member
Posts: 2
Joined: 2022-04-28, 10:34 UTC

Re: Select image range: how to select file-1 to file-500 ?

Post by *wishgranter042 »

T H A N X all of you for help !!!

i will try all the mentioned workflows....
Post Reply