Menu

#1549 Replacing entire 7z file contents by deleting and adding

None
open-fixed
nobody
None
5
2015-08-25
2015-08-25
c_dial
No

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.

1 Attachments

Discussion

  • Igor Pavlov

    Igor Pavlov - 2015-08-25
    • status: open --> open-fixed
    • Group: -->
     
  • Igor Pavlov

    Igor Pavlov - 2015-08-25

    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

Log in to post a comment.