LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

xar

Extensible archive format tool

TLDR

Create archive
$ xar -cf [archive.xar] [files]
copy
Extract archive
$ xar -xf [archive.xar]
copy
List contents
$ xar -tf [archive.xar]
copy
Verbose extraction
$ xar -xvf [archive.xar]
copy
Extract to directory
$ xar -xf [archive.xar] -C [directory]
copy

SYNOPSIS

xar [-c] [-x] [-t] [-f archive] [options] [files]

DESCRIPTION

xar (eXtensible ARchive) creates and extracts archives using a format developed by Apple, primarily used for macOS installer packages. The format uses an XML-based table of contents that supports rich metadata and multiple compression algorithms per file.The archive format also includes signature support for code signing and integrity verification. While primarily associated with macOS, xar is available on Linux for working with macOS package files and other XAR archives.

PARAMETERS

-c

Create archive.
-x
Extract archive.
-t
List contents.
-f FILE
Archive file.
-v
Verbose.
-C DIR
Target directory.

INSTALL

sudo apt install xar
copy
sudo dnf install xar
copy
sudo apk add xar
copy
sudo zypper install xar
copy
nix profile install nixpkgs#xar
copy

CAVEATS

macOS oriented. Less common on Linux. XML overhead.

HISTORY

xar (eXtensible ARchive) was developed by Apple for macOS installer packages.

SEE ALSO

tar(1), pkgutil(1), ar(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid