Question about using XZ compression from the command line

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

Question about using XZ compression from the command line

#1 Post by nic007 »

What is the commandline for maximum xz compression. Also, which level is recommended? At the moment I'm just using -comp xz. -comp xz -9 doesn't work for me.

ASD

#2 Post by ASD »

I believe, perhaps wrongly, that xz compression is usually preset to level 9.

Compare the compression sizes and times in the table below to get an idea of expected results at all levels:
http://www.murga-linux.com/puppy/viewtopic.php?t=97212

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#3 Post by nic007 »

I've read somewhere that the default is level 6. So, do you know what is the correct command?

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#4 Post by smokey01 »

xz -z9 filename

Use xz -h or -H for help

Post Reply