[TC 11.50] Wildcards to rename files when copying files with F5

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
lz57005
Junior Member
Junior Member
Posts: 4
Joined: 2020-03-06, 06:09 UTC

[TC 11.50] Wildcards to rename files when copying files with F5

Post by *lz57005 »

in Total Commander 11.50:
Wildcards to rename files when copying files with F5: Options to put text in front of name, or append text after name
Example files:
  • MyAwesomeFile1.ext
    MyAwesomeFile2.ext
    MyAwesomeFile3.ext
F5 *postfix.* :
  • MyAwesomeFile1postfix.ext
    MyAwesomeFile2postfix.ext
    MyAwesomeFile3postfix.ext
but
F5 prefix*.* :
  • prefixomeFile1.ext
    prefixomeFile2.ext
    prefixomeFile3.ext
Replaces the first characters of the name rather than adding them to the beginning
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50] Wildcards to rename files when copying files with F5

Post by *ghisler(Author) »

This is intentional, because older versions have always behaved like this.
To prefix a string, you need to use a different syntax (from the help):
start** Text is inserted before the name, e.g. test.txt with start_**_rest.* -> start_test_rest.txt
start*? Text is inserted before the name and resets position in name, e.g. name.txt copied as start_*?do*_rest.* -> start_dome_rest.txt

So in your example, use prefix**.*
Author of Total Commander
https://www.ghisler.com
lz57005
Junior Member
Junior Member
Posts: 4
Joined: 2020-03-06, 06:09 UTC

Re: [TC 11.50] Wildcards to rename files when copying files with F5

Post by *lz57005 »

Thanks, I need to read the help more carefully.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50] Wildcards to rename files when copying files with F5

Post by *petermad »

Moderator message from: petermad » 2025-01-03, 23:39 UTC

Moved to "Total Commander (English)" from "TC11.x bug reports (English)"
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply