Menu

#464 when adding to existing archive with -ms=e switch 7zip creates new solid blocks instead of updating old ones

open
nobody
None
5
2023-05-23
2023-05-23
No

I'm using a simple linux script:
for file in Backup*; do 7zz a -t7z -mx=9 -mfb=273 -md=31 -myx=9 -mtm=- -mmt -mmtf -md=1536m -mmf=bt3 -mmc=10000 -mpb=0 -mlc=0 -ms=e -mqs -m0=lzma2 archive.7z $file; done
I have lots of Backups from my minecraft server which are really similar to one another so I am trying to get the highest compression possible. However when using the above script, is creates new solid blocks every time another backup gets added, which means the backups don't get compared to each other and lots of possible compression is wasted.
I also tried the command

7zz a -t7z -mx=9 -mfb=273 -md=31 -myx=9 -mtm=- -mmt -mmtf -md=1536m -mmf=bt3 -mmc=10000 -mpb=0 -mlc=0 -ms=e -mqs -m0=lzma2 archive.7z *

(* to include all the backups I have) which had excellent compression but because I have so many backups it took forever (like a month in) and my ubuntu vm crashed corrupting the archive. (I don't mind if it takes forever, I just don't want it to corrupt the archive when it crashes. That's why I tried the script up above)
I looked trough the documentation but I can't seem to find anything that would let it update the existing solid blocks. (I am using -ms=e and -mqs for better compression so In my head it should seem possible to update those blocks but of course I'm no expert)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.