The Computer Oracle

How can I specify the order files should be compressed in 7zip?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Track title: CC L Beethoven - Piano Sonata No 8 in C

--

Chapters
00:00 How Can I Specify The Order Files Should Be Compressed In 7zip?
02:50 Accepted Answer Score 6
03:29 Answer 2 Score 0
03:52 Thank you

--

Full question
https://superuser.com/questions/711045/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#compression #archiving #7zip

#avk47



ACCEPTED ANSWER

Score 6


I managed to solve this problem. The solution was to create an archive containing only the miscellaneous files, and after that select "add to archive" from the explorer context menu while selecting both the PDF and JPGs. In the 7zip "Add to Archive" dialog, I chose the same compression settings and archive name as before.

This compressed the PDF and JPGs together - taking full advantage of their redundancy - then added them to the existing archive. It resulted in an overall 45% compression ratio, exactly what I was looking for.




ANSWER 2

Score 0


PDFs and JPGs are themselves compressed. It is much harder to compress an already compressed file then an uncompressed one. So no, the compression algorithm isn't being "forgotten" - it is more akin to throwing a zip file into another zip file (very little happens in compression).