ZTree.com  | ZEN  | About...  

 Index   Back

[Help!] Renaming files with embedded leading zero   [Help!]

By: Doug Borg     Newton, MA, USA  
Date: Dec 03,2016 at 21:45
In Response to: [Help!] Renaming files with embedded leading zero (David Bullock)

> Greetings all,
> I have a frequent need to rename multiple files with names such as
> "Sometext 034 moretext.txt" to "sometext 34 moretext.txt". All I
> need to do is remove that leading zero on the counter.
>
> I cannot figure out how to create the rename string to accomplish this.
> I've tried variations on " 0{0-9}{0-9} " {0-9}{0-9} ", but cannot
> make it work.
>
> Any ideas? Thanks!
> -David B.


Assuming that you are using the latest Zeta (v2.4.169), are you using the literal characters "{" and "}" in your rename mask, or the Alt-[ and Alt-] "glyphs" as required? See section 1.4.2 of the ZTW.HLP file, lines 1027-1039.

948 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 79 users online (0 registered, 79 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 10:14 am UTC  |  Hits:62,362,656  (15,053 Today )
RSS Feed