Have a script that makes a 7z archive of .wine directory and with 7z
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Pentium(R) CPU 2020M @ 2.40GHz (306A9),ASM)
It creates a 7G file which has been fine.
Recently changed exact same script to use 7zz instead.
7-Zip (z) 24.08 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-08-11
64-bit locale=en_US.UTF-8 Threads:2 OPEN_MAX:1024, ASM
It tries to create a 16G file?? In a quick search, I thinking the extra 9G is coming from symbolic links to Download, Desktop and other directories.
Did a test on another 3G directory structure that doesn't have any links, and both 7z and 7zz created similar files in size, and both files passed test of other program. The 7zz took about 11 1/2 minutes to created file and 7z took about 13 1/2 minutes on same 2 core notebook.
This on Fedora 40.
Following link to 7z shows
/usr/libexec/p7zip$ ls -l
-rwxr-xr-x 1 root root 520416 Jan 25 2024 7z
So, has a newer date that the copyright it shows of 2016-05-21?? So not sure if it is updated, or was just recompiled at some point.
Did comparison of 7z -help and 7zz -help, and most seem minor. Is there perhaps a reason for different results? Just using 7z a and 7zz a
Thanks.
Old
7z
isp7zip
.p7zip
is old port of 7-zip.You can disable symbolic links entering with
-snl
switch in new 7-zip (7zz).Thanks for quick response. Figured it would be some switch that would do the trick.
Not sure why the Linux repos don't have the newer 7zz?
Thanks again.
p7zip was a good port that was developed by another developer. That was a pretty big work, because most of 7-zip code was developed for Windows only.
But that p7zip's developer didn't update p7zip after 2016.
So I worked myself to update original code of 7-Zip for compatibility with linux.