xar (archiver)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Filename extension .xar
Uniform Type Identifier (UTI) com.apple.xar-archive
Magic number xar!
Latest release
(9 December 2009; 5 years ago (2009-12-09))
Type of format archive file format
Extended from XML, gzip
Website code.google.com/p/xar/

Xar (short for eXtensible ARchive format) is an open source file archiver and the archiver’s file format. It was created within the OpenDarwin project and is used in Mac OS X 10.5 for software installation routines, as well as browser extensions in Safari 5.0. Xar replaced the use of gzipped pax files.[1]

One development branch of RPM, RPM5, uses xar.[2]

Xar is different from cpio, tar or ar in that it stores the TOC (table of contents) in the beginning of the file, making appending to an archive more complicated, but making it unnecessary to scan through the archive to extract an individual contained file. Cramfs also has the equivalent of a TOC.


External links[edit]