xar (archiver)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
xar
Filename extension .xar
Magic number xar!
Type of format archive file format
Extended from XML, gzip
Website http://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]

[edit] /etc/magic

The following code snippet shows the magic number, in the /etc/magic format of the Unix file program:

#-------------------------------------------------------------
# file(1) magic(5) data for xar archive file format
0     string    xar!    xar - eXtensible ARchiver archive
>6    beshort   x       - version %d

[edit] References

[edit] External links

Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages