Quantcast
Channel: Total Commander
Viewing all articles
Browse latest Browse all 18768

Eng :: RE: Change date/time getting values from filename

$
0
0
Author: Phred
Subject: Try This
Posted: Mon Jun 13, 2016 9:13 am (GMT -6)

.
WORKING EXAMPLE

To re-date-&-time the file:
13-queen's-birthday-honours--greg sheridan.mp3
..to the date the podcast was published, rather than downloaded, the 13th June '16, in the logical EU/AU/JP small-bigger-biggest date format, at 10:12 p.m., use this:

File | Change attributes; tick Change plugin attributes,
Plugin: tc, Property: writedate, [=tc.name:1-2]/06/2016
+ (more attributes)
Plugin: tc, Property: writetime, 22:22:00
OK

Mutatis mutandis; change format according to taste.

In words, the leading two characters ('[=tc.name:1-2]') of the filename are being taken to change the file's date attribute; the date Windows shows the file as arriving/being last written/saved.
To those first two characters is added the rest of the date: /06/2016 - in the exact, current, date format TC is displaying.
The full Value of the Property writedate becomes: [=tc.name:1-2]/06/2016

At the same time, the last time written/saved can be changed to 10:22 p.m. with the Value 22:22:00

Press OK to complete and thereby change the date/time attributes from the information in the filename.
TC sets the file's date to 13/06/2016 and its time to 22:22.
QED


Viewing all articles
Browse latest Browse all 18768

Trending Articles