Subj : REDATE2.ZIP
To   : Gerald Miller
From : andrew clarke
Date : Thu Oct 24 2002 12:10 pm

Wed 2002-10-23 16:14, Gerald Miller (1:342/512) wrote to All:

> I would like to enquire if anyone has updated the subject file:

> === Begin Cut ===
>     REDATE2.ZIP

>     Redate archive files to the date of the newest file within.
>     Contains C source code.
> === End   Cut ===

> Or know of any other utility that will perform this task?

Use the -o option to do this with Info-ZIP's zip on existing archives, ie.

zip -o archive.zip

which should leave the archive contents unchanged.  With RAR you can use

rar c -znul -tl archive.rar

but this will remove any existing archive comments.  If no comments exist, RAR
should leave the archive contents unchanged also (so the CRC32 or MD5 checksum
of the file will be as it was before you changed the file's timestamp).

I don't know about other archivers.  Ideally someone should write a program to
do this that works with all common archive formats.  I've been thinking about
it.  ;-)  I haven't found anything on the Web to do this.

Regards
Andrew

-- [email protected]

--- Msged/NT 6.1.1
* Origin: Blizzard of Ozz, Mt Eliza, Victoria, Australia (3:633/285.4)