ZTree.com  | ZEN  | About...  

 Index   Back

[ZEP] Tagged Rename path sequential numbers   [ZEP]

By: Laurent Duchastel     Montréal, Québec  
Date: Oct 02,2019 at 23:43
In Response to: [ZEP] Tagged Rename path sequential numbers (Donald_SBC)

> I use this mask when renaming the tagged files in a Group list.
>
> :%6:_:01:.*
>
> Right now if there are 9 files in 3 directories (A, B, C) the
> sequential number goes from 01 to 09. So I get
>
> A_01.jpg
> A_02.jpg
> A_03.jpg
> B_04.jpg
> B_05.jpg
> B_06.jpg
> C_07.jpg
> C_08.jpg
> C_09.jpg
>
>
> I would like the numbering to restart at 01 for each directory so I get
> this:
>
> A_01.jpg
> A_02.jpg
> A_03.jpg
> B_01.jpg
> B_02.jpg
> B_03.jpg
> C_01.jpg
> C_02.jpg
> C_03.jpg

Redo the operation three times, one in each directory ?

If you want to go faster, Ctrl-F12 create a temporary macro by recording key sequence the first time in the first directory. Than Alt-F12 repeat the macro in subsequent directories.


Laurent Duchastel

201 views      
 

Messages in this Thread

 
94,800 Postings in 11,952 Threads, 348 registered users, 9 users online (0 registered, 9 guests)
Index | Admin contact |   Forum Time: Mar 31, 2020 - 7:09 pm EDT  |  Hits:30,520,166  (4,397 Today )
RSS Feed