Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So what I wanted to do is compress files (using 7zip) and split a 600MB folder into 199MB parts, but sadly when I tried to do this task with archive manager it gave me an error, but I know that if I use terminal it will work.

I looked this up in askubuntu and found out about this command:

7z a -v5m -mx0 ubuntu.7z  

I understand that v5m will split it to 5 mb parts and -mx0 means that it will not compress it, but I want it to compress so what should I write instead of this -mx0?

Please note: I am using 7zip because I most probably will use this file on a Windows pc.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

With MX you can set the level of compression used.

Set it to 9 for maximum compression.

See man 7z for further explanations.

share|improve this answer
    
Thank you for the reply –  Levan Nov 19 '12 at 0:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.