Creation Creation Date = Change Creation Date

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Hurdet
Power Member
Power Member
Posts: 716
Joined: 2003-05-10, 18:02 UTC

Creation Creation Date = Change Creation Date

Post by *Hurdet »

Do it is possible to sets the creation date/time of <files > to the modification date/time self?
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3897
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Sure you can:

Mark all files of interest.
Use "Files - Change Attributes"
Click on "More attributes"
Select "tc - creationdate" and the "+" to choose "tc - writedate"
Click on "More attributes"
Select "tc - creationtime" and the "+" to choose "tc - writetime"

You may press F2 to save this settings.

Finally press "OK" to do the changes.
#5767 Personal license
Hurdet
Power Member
Power Member
Posts: 716
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet »

ty :)
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

sqa_wizard wrote:Sure you can:

Mark all files of interest.
Use "Files - Change Attributes"
Click on "More attributes"
Select "tc - creationdate" and the "+" to choose "tc - writedate"
Click on "More attributes"
Select "tc - creationtime" and the "+" to choose "tc - writetime"

You may press F2 to save this settings.

Finally press "OK" to do the changes.
Actually "creationdate" set both: date and time, there's no need to set additionally "creationtime" (which is usefull for set time ONLY, with different DATE).
warter
Junior Member
Junior Member
Posts: 4
Joined: 2014-01-12, 16:34 UTC

Post by *warter »

Unfortunately timestamp precision is insufficient. :(
Total commander stores time with precision in seconds but windows NTFS uses time resolution 10 million per second => 100 ns (nanosecond) = 0.000 000 1 second.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7025
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

warter wrote:Unfortunately timestamp precision is insufficient. :(
Total commander stores time with precision in seconds but windows NTFS uses time resolution 10 million per second => 100 ns (nanosecond) = 0.000 000 1 second.
You have files for which you need that precision ?
:?:
warter
Junior Member
Junior Member
Posts: 4
Joined: 2014-01-12, 16:34 UTC

Post by *warter »

Horst.Epp wrote: You have files for which you need that precision ?
:?:
WinRAR stores timestamp with high precision, but if timestamp is set via Total commander, then "rar archive" size and crc will be different.
Last edited by warter on 2014-01-13, 14:02 UTC, edited 1 time in total.
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

Why you want change if you need no change?

JUST DON'T CHANGE!
warter
Junior Member
Junior Member
Posts: 4
Joined: 2014-01-12, 16:34 UTC

Post by *warter »

Gral wrote:Why you want change if you need no change?

JUST DON'T CHANGE!
For example...

1. i got file "\Backup\abc.dbc" size 1500 MB (NTFS timestamp eg 27.5.2011 15h : 20m : 55s : 852ms : 999µs : 800ns)
2. I will create rar multivolume archive splited eg. 3x 500 mb => abc.part1.rar, abc.part2.rar, abc.part3.rar
3. Files are upload on server, one of file is damaged expired and need to be reuploaded.
4. I dont keep archived files so i need recreate missing rar part, note archive may contain also folders and they can change timestamp when you copy/moves inside/outside folder.
This is one reason why timestamp need better precision, becuase if you set time 27.5.2011 15h : 20m : 55s for folder a recreate multi-volume archive crc will mismatch also whole archive size will be different!
Last edited by warter on 2014-01-14, 14:11 UTC, edited 1 time in total.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Are you sure your archives store creation dates for files? In my test case WinRAR stores modification dates only (and I need additional option in order to store creation dates) so there is no need to change creation date.
Anyway, repacking multi-volume archive is a very unreliable way to get 100% same volumes: e.g. if you update WinRAR it may work in a bit different way...
warter
Junior Member
Junior Member
Posts: 4
Joined: 2014-01-12, 16:34 UTC

Post by *warter »

MVV wrote:Are you sure your archives store creation dates for files? In my test case WinRAR stores modification dates only (and I need additional option in order to store creation dates) so there is no need to change creation date.
Anyway, repacking multi-volume archive is a very unreliable way to get 100% same volumes: e.g. if you update WinRAR it may work in a bit different way...
WinRAR stores modification date by default, but can store and recreate also created and last accessed timestamp.
Anyway i guess NTFS TimeStamp Implementation would be good idea, TC still uses old FAT32 timestamp.

Also folders have own created and accessed timestamp, but windows displays only modified timestamp. I can use old WinRAR to recreate archives, the only problem is timestamp.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think you can try to set some specific timestamp for all files/folders to be packed in order to simplify further operations. So all timestamps will use old good precision.
Post Reply