0

how do I batch compress some files/folders in individual zip-files so that each individual zip-archive has the correct timestamp (created/modified) as its source file/folder to preserve the chronology of a folder of zip-archives ?

I have downloaded Dotnetzip, using Windows 7..

Thanks for helping !

1 Answers1

0

I don't know if this can be done with DotnetZip.

An alternative you might always resort to is to touch the file after creation. I use touch from unxutils. And do something like this...

7zip a myzip.zip myfile.txt
touch myzip.zip -r myfile.txt 
PA.
  • 28,486
  • 9
  • 71
  • 95