[HELP] Order of renaming functionalities

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
enineera
Junior Member
Junior Member
Posts: 37
Joined: 2005-09-28, 13:27 UTC

[HELP] Order of renaming functionalities

Post by *enineera »

If I use both file masks and search/replace functionalities to do the renaming job, what order will TC follow?

1) first file mask, then search/replace?
2) first search/replace, then file mask?
3) recursively?
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

From what I've seen File Mask, then Search/Replace, but an improper Search/Replace string can cause recursion, and at times needs a very complex regex to get a simple thing done - to prevent wiping the new name.
Course don't be stubborn and just do the renames in multiple passes ;) ...
I'm sure some of us spend more time getting the regex "just right" - than it would of taken to rename the files by hand *grin*
enineera
Junior Member
Junior Member
Posts: 37
Joined: 2005-09-28, 13:27 UTC

Post by *enineera »

Thank you!

Could the author Christian Ghisler give me an authoratative answer? :oops:
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

4) Try it out yourself? Where exactly is the problem?
Furthermore the answer is in the help file, all you have to do is press F1 in the Multirename-Tool and read.
Could the author Christian Ghisler give me an authoratative answer?
This is really the best thing to ask if you wanna upset all users willing to help you. If you don't trust the users don't ask in the forum please but write to the author's support address.

Icfu
This account is for sale
enineera
Junior Member
Junior Member
Posts: 37
Joined: 2005-09-28, 13:27 UTC

Post by *enineera »

Awfully sorry, buddies! :oops:

I am not with some bad intentions, just to clarify my confusions.

Examining the help file, it is said that
This function is applied AFTER the rename mask!
But sometimes TC sometimes is too smart to be recursive when we use mask and search/replace. :?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed the rename options are applied from left to right, top to bottom.
1. Rename mask
2. Search+replace
3. Upper-/Lowercase

This can be controlled somehow because there are also rename masks for upper/lowercase, so you can apply them before Search+Replace. But you can't apply Search+Replace before the rename mask, except by multi-renaming in multiple steps via the "Reload" button.
Author of Total Commander
https://www.ghisler.com
Post Reply