xz

from Wikipedia, the free encyclopedia
xz
File extension : .xz
MIME type : application / x-xz
Magic number : FD 37 7A 58 5A 00 hex
\ xFD7zXZ \ 0

( ASCII-C notation )

Developed by: Tukaani Project ( Slackware )
Current version: 1.0.4 (as of August 27, 2009)
Type: Data compression
Container for: any files
Standard (s) : tukaani.org/xz/xz-file-format
Website : tukaani.org/xz

xz is the data compression format of the XZ Utils . The design is based on the data formats of compress , gzip and bzip2 . Like this it is not an archive file , so it only supports a single file as content.

The files are identified by the filename extension .xz , compressed tar archives have the filename extension .txz or .tar.xz .

features

The format supports several compression algorithms (so-called filters ) from an expandable list, which can also be combined with one another. The reference implementation primarily uses the Lempel-Ziv-Markow algorithm (LZMA / LZMA2). Contents are protected by checksums , whereby a number of checksum algorithms from an expandable list are also supported. The data stream can be compressed in several independent blocks and written to the file, e.g. B. to speed up random access . Different compression algorithms can also be used for the individual blocks. As with gz and bz2 files, multiple xz files can be joined together to form a valid new one, and a multiple of four can be appended to zero bytes (a valid xz file has a number of bytes divisible by four) by e.g. . B. to achieve certain file sizes. The format is streaming- capable, so it can be processed via pipes .

Support, use

In addition to the reference implementation, the XZ Utils, 7-Zip from version 9 and WinRAR from version 5 can also read the format.

The implementation of the GNU project of the tar packing program, which is often used for compression under Linux and Unix , supports the direct generation of xz-compressed tar files with the extension .tar.xz and the option or as of version 1.22 . -J--xz

The GNU Core Utilities are version 7.1 in addition to the gz delivered format in the xz format from version 8.14 only in the xz format. There is also an xz implementation called pixz optimized for multi-core CPUs , which can also create an index for tar files in order to enable fast random access.

Web links

Individual evidence

  1. Latest changes in WinRAR . RARLAB, September 2013.
  2. ftp.gnu.org
  3. github.com