Page 1 of 1

multirename tool parameter [N#-#] for range

Posted: 2016-05-03, 14:13 UTC
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

Posted: 2016-05-03, 14:33 UTC
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

Posted: 2016-05-04, 10:43 UTC
by Nigurrath
good, didn't know

Posted: 2016-05-05, 07:49 UTC
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]