In my respect, 7-Zip is the best file compressor ever. It is efficient, can be operated with a multitude of parameters at a command line and it’s free.
Unfortunately, with every update of an archive, 7-Zip also updates the archive’s file date even when the contents itself is unchanged. This is disturbing when you use 7-Zip as a simple, automated backup-tool, to build archives, that are later transferred via FTP. As the FTP client finds a file with a later file date, it will transfer it unnecessarily when the contents is actually unchanged.
7zDateReset is a standalone command line tool which sets the date of the 7-Zip archive to the date of the latest contained file (=default). Alternativly it can set archive date to that of the oldest contained file.
Usage: Call with either archive or folder name to change either a single archive or all .7z archives in one folder. If date should be set to that of oldest contained file, state “/oldest” as 2nd parameter. Parameter “/batch” suppresses error-announcements (e.g. if zip file is empty or non-existent) for more tolerant batch handling. The program returns errorlevel codes.
No setup necessary, please check readme.txt for different installation procedures on 32- and 64-bit systems!
Already in 2010 7-zip received the “-stl” switch to set the archive timestamp to the most recently modified file. Unfortunately this and all later versions were alpha or beta versions only. In November 2015, with the appearance of the first final version after five years (15.12) this tool became redundant when the “-stl” switch is used.
Please Note: Program will not work with “-mhe” encryption option
Windows Freeware / 32 & 64 Bit / Version: 2.2 / 545 kB