Replacing entire 7z file contents by deleting and adding
A free file archiver for extremely high compression
Brought to you by:
ipavlov
When the contents of a 7zip file are replaced in their entirety by deleting everything in a 7-zip file and then adding new files to the empty 7-zip file, all the LastWriteTime fields of the added files are empty.
It is important that this file adding technique work properly because it allows one to update a 7-zipped folder tree and eliminate any files from the zipped folder tree that are not in the new folder tree being added. See attached screen dump showing the empty Modified field.
Hopefully, this is a very quick and simple bug for someone familiar with the code to fix.
Yes, 7-Zip looks old archive to select what timestamp properties must be stored in archive. Empty archive doesn't contain "Modified" records. So 7-Zip doesn't store "Modified" values for new files.
I'll fix that problem in next version.
Thanks for report!
Last edit: Igor Pavlov 2015-08-25