2 digit 'Year' in multiple rename?

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
DVDM
Junior Member
Junior Member
Posts: 17
Joined: 2006-07-07, 09:34 UTC
Location: Sydney

2 digit 'Year' in multiple rename?

Post 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?
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

You have it !

Post 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
Last edited by Clo on 2006-11-23, 20:01 UTC, edited 2 times in total.
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
DVDM
Junior Member
Junior Member
Posts: 17
Joined: 2006-07-07, 09:34 UTC
Location: Sydney

Post 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?
User avatar
AbteriX
Junior Member
Junior Member
Posts: 36
Joined: 2006-03-12, 20:10 UTC
Location: Old Europe

Post 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
Abterix
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Clo
Don't be too fast, [y] will appear in the next version only! :lol:
Read the history file more attentively.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
DVDM
Junior Member
Junior Member
Posts: 17
Joined: 2006-07-07, 09:34 UTC
Location: Sydney

Post 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.
User avatar
petermad
Power Member
Power Member
Posts: 14793
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

So [y] is scheduled to appear in the next update?
Yes.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
solid
Power Member
Power Member
Posts: 747
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

[=tc.creationdate.Y:3-4]
User avatar
RID500
Member
Member
Posts: 194
Joined: 2006-11-20, 12:38 UTC

Post 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)
Post Reply