Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Usage: xar -[ctx][v] -f <archive> ...
- -c Creates an archive
- -x Extracts an archive
- -t Lists an archive
- -f <filename> Specifies an archive to operate on [REQUIRED!]
- -v Print filenames as they are archived
- -n name Provides a name for a subdocument
- -s <filename> On extract, specifies the file to extract
- subdocuments to.
- On archival, specifies an xml file to add
- as a subdocument.
- -l On archival, stay on the local device.
- -p On extract, set ownership based on symbolic
- names, if possible.
- -P On extract, set ownership based on uid/gid.
- --toc-cksum Specifies the hashing algorithm to use for
- xml header verification.
- Valid values: none, sha1, and md5
- Default: sha1
- --dump-toc=<filename> Has xar dump the xml header into the
- specified file.
- --dump-header Prints out the xar binary header information
- --compression Specifies the compression type to use.
- Valid values: none, gzip, bzip2
- Default: gzip
- --list-subdocs List the subdocuments in the xml header
- --extract-subdoc=name Extracts the specified subdocument
- to a document in cwd named <name>.xml
- --exclude POSIX regular expression of files to
- ignore while archiving.
- --rsize Specifies the size of the buffer used
- for read IO operations in bytes.
- --coalesce-heap When archived files are identical, only store one copy
- This option creates an archive which
- is not streamable
- --link-same Hardlink identical files
- --no-compress POSIX regular expression of files
- not to archive, but not compress.
- --version Print xar's version number
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement