ZTree.com  | ZEN  | About...  

 Index   Back

Unable to reproduce   [ZEP]

By: John Gruener     Orlando, Florida  
Date: Oct 05,2023 at 23:24
In Response to: [ZEP] enhanced rename (Donald_SBC)

> I use this mask to rename files in a directory. :%6:_:01:.*
>
> So the following in folder XXY
> abx.jpg
> def.jpb
>
> become
> XYZ_01.jpg
> XYZ_02.jpg
>
> This works great on a single logged directory.
>
> If I log multiple directories and do Global and try the same mask
> everything gets renamed using the first directory name.
>
> Any chance we could get a new variable that uses the directory name the
> file is in?

Donald,

If %6 is not always inserting the name of the directory in which each file resides (the "current" directory), then this is a bug.

However, I have been unable to reproduce the problem you are reporting. Whether in a Normal, Branch, Showall or Global FW, and regardless of the sort order, in my case %6 is always inserting the correct current directory name.

- John

305 views      
 

Messages in this Thread

 
96,664 Postings in 12,235 Threads, 350 registered users, 211 users online (0 registered, 211 guests)
Index | Admin contact |   Forum Time: Jun 16, 2024 - 4:40 pm UTC  |  Hits:64,857,570  (67,630 Today )
RSS Feed