Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Your Answer


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.