ZTree.com  | ZEN  | About...  

 Index   Back

[Help!] Date Stamping Zip file to the date of the zipped file   [Help!]

By: andreas     Z├╝rich, Switzerland  
Date: Jul 02,2023 at 04:48
In Response to: [Help!] Date Stamping Zip file to the date of the zipped file (Geoff Cutter)

> Can I set each Zip file it creates to have
> the same date/time stamp the internal file it just zipped?

InfoZip unzip (https://infozip.sourceforge.net) does just that with the -T (uppercase!) switch! so simply create a ctrl-Batch files with all your Zips
with the command line unzip -T "%1"
archive bits are untouched. (quirk: zip uses -T to test archive, unzip uses -t to test, but -T to update timestamp to youngest file in archive)

HTH andreas

160 views      
 

Messages in this Thread

 
96,456 Postings in 12,197 Threads, 350 registered users, 94 users online (0 registered, 94 guests)
Index | Admin contact |   Forum Time: Sep 30, 2023 - 7:26 am UTC  |  Hits:58,246,142  (10,889 Today )
RSS Feed