Hello,
I'm trying to rename multiple filenames by replacing APNxx by APNyy with yy = xx +1 starting from APN18 only.
I put this settings :
Search for : APN18|APN19|APN20|APN21|APN22|APN23|APN24|APN25|APN26|APN27|APN28|APN29|APN30|APN31
Replace with : APN19|APN20|APN21|APN22|APN23|APN24|APN25|APN26|APN27|APN28|APN29|APN30|APN31|APN32
Check box "1x" checked
And unfortunately, every APNxx is replaced by APN32 (the latest of the list)
It means that the tools doesn't replace only the first occurrence of the search.
Has someone the same understanding than me ?
PS : Thank you for this wonderful software and all the updates proposed.
Thanks.
Raphaël
License #174371
Multi-rename tool: new option "1x" doesn't work -> work properly
Moderators: white, Hacker, petermad, Stefan2
Multi-rename tool: new option "1x" doesn't work -> work properly
Last edited by rribot on 2020-02-16, 09:08 UTC, edited 1 time in total.
Re: Multi-rename tool: new option "1x" doesn't work
1x is for the first occurrence in every name.
You should use reverse order to avoid overwriting.
Search for: APN31|APN30|APN29|APN28|APN27|APN26|APN25|APN24|APN23|APN22|APN21|APN20|APN19|APN18
Replace with: APN32|APN31|APN30|APN29|APN28|APN27|APN26|APN25|APN24|APN23|APN22|APN21|APN20|APN19
You should use reverse order to avoid overwriting.
Search for: APN31|APN30|APN29|APN28|APN27|APN26|APN25|APN24|APN23|APN22|APN21|APN20|APN19|APN18
Replace with: APN32|APN31|APN30|APN29|APN28|APN27|APN26|APN25|APN24|APN23|APN22|APN21|APN20|APN19
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Multi-rename tool: new option "1x" doesn't work
Well, it would be easier to use the rename mask instead:
That is, if the current names allow that, i.e. "APN" has the same offset in all names. But then you don't have to worry about multiple replacements taking place when using the pipe symbol. And, BTW, the 1x option works fine and it has been in TC for many years - TC 8.0 beta8 to be exact (someone would have reported it if it wouldn't work correctly).
Regards
Dalai
Code: Select all
APN[C18]
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Multi-rename tool: new option "1x" doesn't work
Andrzej,
Thank you so much, I was doing the wrong way.
Dalai,
Thank you for your proposal, I will try.
Thank you so much, I was doing the wrong way.
Dalai,
Thank you for your proposal, I will try.