2 digit 'Year' in multiple rename?
Moderators: Hacker, petermad, Stefan2, white
2 digit 'Year' in multiple rename?
I'm not sure whether this simply isn't available, or I don't know where to find it, but here it goes:
I rename digital photo's to this: YYMMDD_123.
I don't have files going back to the 1900's, and do not expect to make it to the year 2100, so really, the '20' bit of 2006 is not required for me. I cannot find out how to rename my files using just the last 2 digits of the year. I know there's several ways to work around it (a second rename where I remove the '20', or simply in one go by replacing '2006' by '06'), but it has to be useful for more people then just me?
Any suggestions? Perhaps use 'Y' for 4 digit years, and 'y' for 2 digit?
I rename digital photo's to this: YYMMDD_123.
I don't have files going back to the 1900's, and do not expect to make it to the year 2100, so really, the '20' bit of 2006 is not required for me. I cannot find out how to rename my files using just the last 2 digits of the year. I know there's several ways to work around it (a second rename where I remove the '20', or simply in one go by replacing '2006' by '06'), but it has to be useful for more people then just me?
Any suggestions? Perhaps use 'Y' for 4 digit years, and 'y' for 2 digit?
You have it !
2DVDM
Hello ! Good… afternoon !
TC 7.0 Help wrote
I ought admit that "[y]" was missing in the older Help versions…
… and if it doesn't work, then it's a bug.
Kind regards,
Claude
Clo

TC 7.0 Help wrote
…
[Y] Paste year in 4 digit form
[y] Paste year in 2 digit form
…

… and if it doesn't work, then it's a bug.

Claude
Clo
Last edited by Clo on 2006-11-23, 20:01 UTC, edited 2 times in total.
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Thanks for your reply Clo,
so what you’re saying is, that there is actually a placeholder [y] that can be used in a rename mask, that should return the last 2 digits of a year? Because when I try using it gives me an <error!> as output. It’s not in the Help file with all other available placeholders either, and it does this in both v6.54 that I had before as well as v7.00 that I use now, on two machines.
Is this really a bug then?
so what you’re saying is, that there is actually a placeholder [y] that can be used in a rename mask, that should return the last 2 digits of a year? Because when I try using it gives me an <error!> as output. It’s not in the Help file with all other available placeholders either, and it does this in both v6.54 that I had before as well as v7.00 that I use now, on two machines.
Is this really a bug then?
[ [=?] Plugin ]
..................> tc
..........................> xxxDATE
...........................................>Y
Then
modify [=tc.Zugriffsdatum.Y]
to. . . . [=tc.Zugriffsdatum.y]
##############################
>placeholder [y] ...when I try using it gives me an <error!>
me too, 7.0 pb1
..................> tc
..........................> xxxDATE
...........................................>Y
Then
modify [=tc.Zugriffsdatum.Y]
to. . . . [=tc.Zugriffsdatum.y]
##############################
>placeholder [y] ...when I try using it gives me an <error!>
me too, 7.0 pb1
Abterix
Clo
Don't be too fast, [y] will appear in the next version only!
Read the history file more attentively.
Don't be too fast, [y] will appear in the next version only!

Read the history file more attentively.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Yes.So [y] is scheduled to appear in the next update?
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
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