xar

bash-3.2$ xar Usage: xar -[ctx][v] -f ... -c Creates an archive -x Extracts an archive -t Lists an archive -f Specifies an archive to operate on [REQUIRED!] -v Print filenames as they are archived -C On extract, chdir to this location -n name Provides a name for a subdocument -s 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, md5, sha1, sha256, and sha512 Default: sha1 --file-cksum Specifies the hashing algorithm to use for file content verification. Valid values: none, md5, sha1, sha256, and sha512 Default: sha1 --dump-toc= 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, lzma Default: gzip -a Synonym for "--compression=lzma" -j Synonym for "--compression=bzip2" -z Synonym for "--compression=gzip" --compression-args=arg Specifies arguments to be passed to the compression engine. --compress-heap Compress entire heap instead of individual files. Currently limited to gzip compression. --list-subdocs List the subdocuments in the xml header --extract-subdoc=name Extracts the specified subdocument to a document in cwd named .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 to archive, but not compress. --prop-include File properties to include in archive --prop-exclude File properties to exclude in archive --distribution Only includes a subset of file properties appropriate for archive distribution --keep-existing Do not overwrite existing files while extracting -k Synonym for --keep-existing --keep-setuid Preserve the suid/sgid bits when extracting --version Print xar's version number bash-3.2$

bash-3.2$ xar
Usage: xar -[ctx][v] -f
-c Creates an archive
-x Extracts an archive
-t Lists an archive
-f Specifies an archive to operate on [REQUIRED!]
-v Print filenames as they are archived
-C On extract, chdir to this location
-n name Provides a name for a subdocument
-s 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, md5, sha1, sha256, and sha512
Default: sha1
–file-cksum Specifies the hashing algorithm to use for
file content verification.
Valid values: none, md5, sha1, sha256, and sha512
Default: sha1
–dump-toc= 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, lzma
Default: gzip
-a Synonym for “–compression=lzma”
-j Synonym for “–compression=bzip2”
-z Synonym for “–compression=gzip”
–compression-args=arg Specifies arguments to be passed
to the compression engine.
–compress-heap Compress entire heap instead of individual files.
Currently limited to gzip compression.
–list-subdocs List the subdocuments in the xml header
–extract-subdoc=name Extracts the specified subdocument
to a document in cwd named .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
to archive, but not compress.
–prop-include File properties to include in archive
–prop-exclude File properties to exclude in archive
–distribution Only includes a subset of file properties
appropriate for archive distribution
–keep-existing Do not overwrite existing files while extracting
-k Synonym for –keep-existing
–keep-setuid Preserve the suid/sgid bits when extracting
–version Print xar’s version number
bash-3.2$

スポンサーリンク

シェアする

フォローする

スポンサーリンク