LinuxCommandLibrary

xar

xar

TLDR

Create a xar archive of all files in a given directory

$ xar -cf [archive.xar] [path/to/directory]
copy


List the contents of a given xar archive
$ xar -tf [archive.xar]
copy


Extract the contents of a given xar archive to the current directory
$ xar -xf [archive.xar]
copy

Copied to clipboard