Winrar command line compression ratio












1














I have a Winrar command line that look like this:



"c:Program FilesWinRARWinRAR.exe" a -afrar -s -m5 "e:output.rar" "e:foldertozip"


The folder that I am compress by default is 9.08MB. The compression file output is 7.62MB. But if I try to right click the folder and select Add to "foldertozip.rar", the compressed file size is 1.35MB.



How can I achieve that high compression ratio with command line?










share|improve this question






















  • Strange. Try to search where is the different behaviour cause. Some obvious specification: Do the 2 rar archive include the same files inside? (this because eventual setting to avoid hidden files/directories). If you compress again the 7.62 MB file renaming it and using the right click, will it shrink to something close to 1.35? Did you try to avoid the -s switch or the -m5? Good hunting.
    – Hastur
    Apr 17 '15 at 9:35










  • @Hastur Yes, I tried to avoid both -s and -m5. Having -m5 or not does nothing different. But without -s, the file size is a bit larger. That is 8.1MB. The strange thing is I only get 1.35MB when compress with Add to "foldertozip.rar". If I choose Add to archive..., no matter how I set, the output is 7-8MB. What setting is Add to "foldertozip.rar" using?
    – user1995781
    Apr 17 '15 at 9:42






  • 1




    It should be possible to check it. Try to see in the option-settings and maybe in the advanced panel too. You can read the manual here: maybe it can be related with Dictionary size and Memory to use or less commonly with delta compression options in the command line default settings vs your actual profile GUI ones.
    – Hastur
    Apr 17 '15 at 10:15


















1














I have a Winrar command line that look like this:



"c:Program FilesWinRARWinRAR.exe" a -afrar -s -m5 "e:output.rar" "e:foldertozip"


The folder that I am compress by default is 9.08MB. The compression file output is 7.62MB. But if I try to right click the folder and select Add to "foldertozip.rar", the compressed file size is 1.35MB.



How can I achieve that high compression ratio with command line?










share|improve this question






















  • Strange. Try to search where is the different behaviour cause. Some obvious specification: Do the 2 rar archive include the same files inside? (this because eventual setting to avoid hidden files/directories). If you compress again the 7.62 MB file renaming it and using the right click, will it shrink to something close to 1.35? Did you try to avoid the -s switch or the -m5? Good hunting.
    – Hastur
    Apr 17 '15 at 9:35










  • @Hastur Yes, I tried to avoid both -s and -m5. Having -m5 or not does nothing different. But without -s, the file size is a bit larger. That is 8.1MB. The strange thing is I only get 1.35MB when compress with Add to "foldertozip.rar". If I choose Add to archive..., no matter how I set, the output is 7-8MB. What setting is Add to "foldertozip.rar" using?
    – user1995781
    Apr 17 '15 at 9:42






  • 1




    It should be possible to check it. Try to see in the option-settings and maybe in the advanced panel too. You can read the manual here: maybe it can be related with Dictionary size and Memory to use or less commonly with delta compression options in the command line default settings vs your actual profile GUI ones.
    – Hastur
    Apr 17 '15 at 10:15
















1












1








1







I have a Winrar command line that look like this:



"c:Program FilesWinRARWinRAR.exe" a -afrar -s -m5 "e:output.rar" "e:foldertozip"


The folder that I am compress by default is 9.08MB. The compression file output is 7.62MB. But if I try to right click the folder and select Add to "foldertozip.rar", the compressed file size is 1.35MB.



How can I achieve that high compression ratio with command line?










share|improve this question













I have a Winrar command line that look like this:



"c:Program FilesWinRARWinRAR.exe" a -afrar -s -m5 "e:output.rar" "e:foldertozip"


The folder that I am compress by default is 9.08MB. The compression file output is 7.62MB. But if I try to right click the folder and select Add to "foldertozip.rar", the compressed file size is 1.35MB.



How can I achieve that high compression ratio with command line?







command-line compression winrar






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 17 '15 at 9:11









user1995781

2343513




2343513












  • Strange. Try to search where is the different behaviour cause. Some obvious specification: Do the 2 rar archive include the same files inside? (this because eventual setting to avoid hidden files/directories). If you compress again the 7.62 MB file renaming it and using the right click, will it shrink to something close to 1.35? Did you try to avoid the -s switch or the -m5? Good hunting.
    – Hastur
    Apr 17 '15 at 9:35










  • @Hastur Yes, I tried to avoid both -s and -m5. Having -m5 or not does nothing different. But without -s, the file size is a bit larger. That is 8.1MB. The strange thing is I only get 1.35MB when compress with Add to "foldertozip.rar". If I choose Add to archive..., no matter how I set, the output is 7-8MB. What setting is Add to "foldertozip.rar" using?
    – user1995781
    Apr 17 '15 at 9:42






  • 1




    It should be possible to check it. Try to see in the option-settings and maybe in the advanced panel too. You can read the manual here: maybe it can be related with Dictionary size and Memory to use or less commonly with delta compression options in the command line default settings vs your actual profile GUI ones.
    – Hastur
    Apr 17 '15 at 10:15




















  • Strange. Try to search where is the different behaviour cause. Some obvious specification: Do the 2 rar archive include the same files inside? (this because eventual setting to avoid hidden files/directories). If you compress again the 7.62 MB file renaming it and using the right click, will it shrink to something close to 1.35? Did you try to avoid the -s switch or the -m5? Good hunting.
    – Hastur
    Apr 17 '15 at 9:35










  • @Hastur Yes, I tried to avoid both -s and -m5. Having -m5 or not does nothing different. But without -s, the file size is a bit larger. That is 8.1MB. The strange thing is I only get 1.35MB when compress with Add to "foldertozip.rar". If I choose Add to archive..., no matter how I set, the output is 7-8MB. What setting is Add to "foldertozip.rar" using?
    – user1995781
    Apr 17 '15 at 9:42






  • 1




    It should be possible to check it. Try to see in the option-settings and maybe in the advanced panel too. You can read the manual here: maybe it can be related with Dictionary size and Memory to use or less commonly with delta compression options in the command line default settings vs your actual profile GUI ones.
    – Hastur
    Apr 17 '15 at 10:15


















Strange. Try to search where is the different behaviour cause. Some obvious specification: Do the 2 rar archive include the same files inside? (this because eventual setting to avoid hidden files/directories). If you compress again the 7.62 MB file renaming it and using the right click, will it shrink to something close to 1.35? Did you try to avoid the -s switch or the -m5? Good hunting.
– Hastur
Apr 17 '15 at 9:35




Strange. Try to search where is the different behaviour cause. Some obvious specification: Do the 2 rar archive include the same files inside? (this because eventual setting to avoid hidden files/directories). If you compress again the 7.62 MB file renaming it and using the right click, will it shrink to something close to 1.35? Did you try to avoid the -s switch or the -m5? Good hunting.
– Hastur
Apr 17 '15 at 9:35












@Hastur Yes, I tried to avoid both -s and -m5. Having -m5 or not does nothing different. But without -s, the file size is a bit larger. That is 8.1MB. The strange thing is I only get 1.35MB when compress with Add to "foldertozip.rar". If I choose Add to archive..., no matter how I set, the output is 7-8MB. What setting is Add to "foldertozip.rar" using?
– user1995781
Apr 17 '15 at 9:42




@Hastur Yes, I tried to avoid both -s and -m5. Having -m5 or not does nothing different. But without -s, the file size is a bit larger. That is 8.1MB. The strange thing is I only get 1.35MB when compress with Add to "foldertozip.rar". If I choose Add to archive..., no matter how I set, the output is 7-8MB. What setting is Add to "foldertozip.rar" using?
– user1995781
Apr 17 '15 at 9:42




1




1




It should be possible to check it. Try to see in the option-settings and maybe in the advanced panel too. You can read the manual here: maybe it can be related with Dictionary size and Memory to use or less commonly with delta compression options in the command line default settings vs your actual profile GUI ones.
– Hastur
Apr 17 '15 at 10:15






It should be possible to check it. Try to see in the option-settings and maybe in the advanced panel too. You can read the manual here: maybe it can be related with Dictionary size and Memory to use or less commonly with delta compression options in the command line default settings vs your actual profile GUI ones.
– Hastur
Apr 17 '15 at 10:15












1 Answer
1






active

oldest

votes


















0














Use rar.exe instead of winrar.exe with -m5 parameter (max compression).






share|improve this answer





















  • It appear error ERROR: Unknown option: afrar
    – user1995781
    Apr 17 '15 at 9:36










  • There is no afrar option for rar.exe. Run rar /? to see all valid options.
    – Overmind
    Apr 17 '15 at 9:37













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f902680%2fwinrar-command-line-compression-ratio%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Use rar.exe instead of winrar.exe with -m5 parameter (max compression).






share|improve this answer





















  • It appear error ERROR: Unknown option: afrar
    – user1995781
    Apr 17 '15 at 9:36










  • There is no afrar option for rar.exe. Run rar /? to see all valid options.
    – Overmind
    Apr 17 '15 at 9:37


















0














Use rar.exe instead of winrar.exe with -m5 parameter (max compression).






share|improve this answer





















  • It appear error ERROR: Unknown option: afrar
    – user1995781
    Apr 17 '15 at 9:36










  • There is no afrar option for rar.exe. Run rar /? to see all valid options.
    – Overmind
    Apr 17 '15 at 9:37
















0












0








0






Use rar.exe instead of winrar.exe with -m5 parameter (max compression).






share|improve this answer












Use rar.exe instead of winrar.exe with -m5 parameter (max compression).







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 17 '15 at 9:32









Overmind

7,83331531




7,83331531












  • It appear error ERROR: Unknown option: afrar
    – user1995781
    Apr 17 '15 at 9:36










  • There is no afrar option for rar.exe. Run rar /? to see all valid options.
    – Overmind
    Apr 17 '15 at 9:37




















  • It appear error ERROR: Unknown option: afrar
    – user1995781
    Apr 17 '15 at 9:36










  • There is no afrar option for rar.exe. Run rar /? to see all valid options.
    – Overmind
    Apr 17 '15 at 9:37


















It appear error ERROR: Unknown option: afrar
– user1995781
Apr 17 '15 at 9:36




It appear error ERROR: Unknown option: afrar
– user1995781
Apr 17 '15 at 9:36












There is no afrar option for rar.exe. Run rar /? to see all valid options.
– Overmind
Apr 17 '15 at 9:37






There is no afrar option for rar.exe. Run rar /? to see all valid options.
– Overmind
Apr 17 '15 at 9:37




















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f902680%2fwinrar-command-line-compression-ratio%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix