ZTree.com  | ZEN  | About...  

 Index   Back

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

By: Geoff Cutter     Melbourne  
Date: Jul 02,2023 at 03:40
In Response to: [Help!] Date Stamping Zip file to the date of the zipped file (Dan LeGate)

> I'm running the following on a bunch of single text files
> (Ctrl-Batch):
>
> pkzipc.exe -add -max %4.zip %4.%5
>
> which will have one file per zip, replacing its extension with "zip"
> as desired.
>
> Can I set each Zip file it creates to have the same date/time stamp as
> the internal file it just zipped?
>
> Suggestions are welcome.
>
> Thanks!
>
> Dan

Get the date from another file:

touch -r

176 views      
 

Messages in this Thread

 
96,456 Postings in 12,197 Threads, 350 registered users, 133 users online (0 registered, 133 guests)
Index | Admin contact |   Forum Time: Sep 30, 2023 - 6:49 am UTC  |  Hits:58,245,309  (10,056 Today )
RSS Feed