xz - is a new general-purpose, command line data compression utility, similar to gzip and bzip2

To compress a file with xz
$ xz -z file.iso

To decompress a file
$ xz -d file.iso.xz
$ unxz file.iso.xz

To prevent deleting of the input file
$ xz -k file.iso

To force overwrite of output file and (de)compress links
$ xz -kf file.iso

To make fast compression
$ xz --fast file.iso

To make best compression( highest compression)
$ xz --best file.iso

To set a memory usage limit for compression
$ xz -k --best --memlimit-compress=15% file.iso

To run in quiet mode
$ xz -k -qv file.iso

To test compressed file integrity
$ xz -t file.iso.xz

To list information about .xz files
$ xz -l file.iso.xz



regards,
T.Dhanasekar