GUI version -stl option different behaviour from command line
A free file archiver for extremely high compression
Brought to you by:
ipavlov
With GREAT joy found out that the -stl option was finally made available in the GUI version.
Unfortunately it has a critical bug... when accounting for the "most recent file timestamp" includes the directories as well, differently from the command line version that correctly does not account for the directories timestamp.
Hope this bug is fixed in new version and both versions GUI and EXE work alike, considering only the timestamp of the files within the 7zip and not the timestamps of the directories.
What exact command in command line you use for these tests?
Show some example.
Also write what result do you expect and what you have after command call.
Last edit: Igor Pavlov 2022-12-29
Consider having:
Test1 30/12/2022 (DIR)
-(Inside DIR)- 7z.dll 15/07/2022
-(Inside DIR)- 7z.sfx 15/07/2022
7z.dll 15/07/2022
7z.exe 15/07/2022
ie, all files from 15/07/2022 and the directory holding some files being 30/11/2022
if give command: 7z.exe a -stl -r test.7z .
one ends up correctly with test.7z file with modified date 15/07/2022 (and inside it, the directory w/o date information, only the files)
Using the GUI (7zFM.exe) and selecting same files and directory to 7zip into test2.7z, one ends up with test2.7z dated 30/12/2022 (and looking inside the 7z file, one sees the directory with the 30/12/2022 date).
Last edit: xkiter 2022-12-30
*.*in 7-zip means name with dot in file name.use
*:Correct. If use
*.*only considers the dates of the files but saves the information of which folder they are, if doing only*the folders dates are saved as well and the 7z date is the date of the "latest" folder. Problem is the GUI version... the GUI version only considers*and as such the 7z file made with the GUI manager always counts the folders dates and not the files only.*includesFolderNameandFolder.Name.*.*includesFolder.Nameand doesn't includeFolderName, becauseFolderNamedoesn't contain dot character, while mask requires dot character.7-Zip for
*.*mask works same way in Linux and in WIndows.Last edit: Igor Pavlov 2023-01-03