multirename tool parameter [N#-#] for range

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Nigurrath
Senior Member
Senior Member
Posts: 225
Joined: 2003-02-05, 12:41 UTC

multirename tool parameter [N#-#] for range

Post by *Nigurrath »

Hi,
it woul dbe good to have the possibility to have this command but counting characters backward. For example I have this situation

- many files with different lenght all ending with a fixed length suffix (but different for each file) that I want to remove or substitute. With the suggested parameter it would be simpler. As far as I see it is not possible at the moment, except using regex.

for example:

file_name1_v23.doc
file_namelong2_v2.doc
file_name_long_v1.doc
file_thisisadocument_v4.doc
always latest 32b TC on a WIN10 64b
User avatar
Dalai
Power Member
Power Member
Posts: 9393
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

This is already possible. See TC help:
[N2--5] Characters from the 2nd to the 5th-last character
[N-5-] Characters from the 5th-last character to the end of the name
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
User avatar
Nigurrath
Senior Member
Senior Member
Posts: 225
Joined: 2003-02-05, 12:41 UTC

Post by *Nigurrath »

good, didn't know
always latest 32b TC on a WIN10 64b
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is one thing which was improved in TC9: Clicking on [N#-#] shows a new dialog box with these extra options:
[ ] Measure first character from the end
[ ] Measure last character from the end
[ ] Use [first,length] instead of [first-last]
Author of Total Commander
https://www.ghisler.com
Post Reply