Menu

#2434 set archive time to latest filetime

open
nobody
None
5
2023-12-16
2023-12-07
Hans Zach
No

Currently the latest filetime is derived from files and folders within the archive.
So you may end up with an archive modified just now but the latest file inside is days old...

example:
- create a folder like "example"
- put older files in it
- create an archive of the files including the folder itself:
- double check the option "Set archive time to latest file time" (-stl)

The archive "example.7z" will have a modifaction date of just now instead of days ago.

Discussion

  • Igor Pavlov

    Igor Pavlov - 2023-12-07

    1) create archive 1.7z for foder 1.
    2) rename one file 1\1.txt in original folder to 1\2.txt
    3) create archive 2.7z for folder 1.
    I suppose that changed name of file is important information that must be reflected in timestamp of archive.

     
  • Hans Zach

    Hans Zach - 2023-12-10

    I am on windows ... if i change a filename it does NOT change the modification date of the file.
    That makes sense to me, as I didn't really change it's content.

     

    Last edit: Hans Zach 2023-12-10
  • Igor Pavlov

    Igor Pavlov - 2023-12-10

    It changes modification time of parent folder.
    So folder timestamp also shows that something was changed.
    File names are important too.

     
  • Hans Zach

    Hans Zach - 2023-12-16

    If i take 2 files and compress them, I get the modification date of the latest file.
    But if I include the folder of the 2 files, I get another date.
    That's not helpful - at least not in my usecases...

     

Log in to post a comment.