Page 1 of 1

2 digit 'Year' in multiple rename?

Posted: 2006-11-16, 02:16 UTC
by DVDM
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?

You have it !

Posted: 2006-11-16, 03:23 UTC
by Clo
2DVDM

:) Hello ! Good… afternoon !

TC 7.0 Help wrote

[Y] Paste year in 4 digit form
[y] Paste year in 2 digit form
:D I ought admit that "[y]" was missing in the older Help versions…
… and if it doesn't work, then it's a bug.

:mrgreen: Kind regards,
Claude
Clo

Posted: 2006-11-16, 06:03 UTC
by DVDM
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?

Posted: 2006-11-16, 07:00 UTC
by AbteriX
[ [=?] 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

Posted: 2006-11-16, 07:36 UTC
by Flint
Clo
Don't be too fast, [y] will appear in the next version only! :lol:
Read the history file more attentively.

Posted: 2006-11-17, 02:01 UTC
by DVDM
Thanks Abterix, I wouldn't have found that without you. I have to admit, even after your help it took a little while before I figured out what you were on about :wink:

So [y] is scheduled to appear in the next update?

Edit: it's 7.0PB1 I'm using under Win XP btw.

Posted: 2006-11-17, 02:36 UTC
by petermad
So [y] is scheduled to appear in the next update?
Yes.

Posted: 2006-11-20, 12:46 UTC
by solid
[=tc.creationdate.Y:3-4]

Posted: 2006-11-23, 19:23 UTC
by RID500
FYI solved in TotalCommander v7.0 pb2

07.11.06 Added:
Multi-rename tool: [y] with lowercase 'y' inserts 2 digit year
(uppercase Y inserts 4 digit year)