I
I
inetbug2013-01-17 21:14:25
Data archiving
inetbug, 2013-01-17 21:14:25

Same modification time of files in archive

After unpacking (in the archive itself, too) many frameworks, etc. distributions, the files have the same last modified time. As far as I understand, this is done when creating the archive, but I did not understand how.

Where can I find this option, for example, in WinRAR?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
vsespb, 2013-01-17
@vsespb

acritum.com/winrar/console-rar-manual
Example:
Set archive time to latest file:
rar ch -tl files.rar

M
Maximus5, 2013-01-18
@Maximus5

I think there are two ways. Or write your own archiver if the format is open and a library is available (7z for example). Or prepare files in a special way before compression (copy to the side and set them all the desired change time).
I myself could not find the necessary keys (WinRar/7Zip).

S
shadowalone, 2013-01-18
@shadowalone

In console RAR, there is this option:
ts<m,c,a>[N] Save or restore file time (modification, creation, access)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question