Convert XAR to TBZ2

Turn XAR archives into TBZ2. Every stored file is kept as it is, so an installer package gives its Bom, PackageInfo, Payload and Scripts parts with the payload still packed.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop XAR files on the dialor turn it to pick what to do

An installer package in a TBZ2 archive.Every file in the XAR comes out as it was stored, in one bzip2-compressed tar file.

  1. What you get

    One TBZ2 file. It is a tar archive compressed with bzip2, and every file stored in the XAR is kept as it is.

    For an installer package, that means the Bom, PackageInfo, Payload and Scripts parts are all there as separate files.

  2. What stays packed

    The payload is still packed. The conversion changes the archive around the files, not the files themselves, so the Payload part comes out in the same packed form it had inside the package.

XAR and TBZ2.What each format is.

The formats

From · XAR

XAR Archive

The archive behind macOS installer packages.

Extensions
.xar .pkg
MIME type
application/x-xar
Kind
Archives
To · TBZ2

Bzip2 Tar Archive

Bzip2-compressed tar archives.

Extensions
.tbz2 .tbz
MIME type
application/x-bzip2
Kind
Archives

In your code.The same XAR to TBZ2 conversion through the API, for your app or your agent.

terminal
$ cv convert archive.xar archive.tbz2
$ cv convert archive.xar archive.tbz2

Questions.What people ask about XAR to TBZ2.

01OF 04

Yes. A PKG installer package is a XAR archive, and it gives its Bom, PackageInfo, Payload and Scripts parts in the TBZ2 file.

No. The payload is still packed in the TBZ2 file, just as it was in the package.

One file. It is a TBZ2 archive that holds the files from the XAR.

There is a conversion for that. See TBZ2 to XAR.

More conversions.Other ways in and out of XAR and TBZ2.