Advertisement
Guest User

Untitled

a guest
Nov 3rd, 2012
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. Usage: xar -[ctx][v] -f <archive> ...
  2. -c Creates an archive
  3. -x Extracts an archive
  4. -t Lists an archive
  5. -f <filename> Specifies an archive to operate on [REQUIRED!]
  6. -v Print filenames as they are archived
  7. -n name Provides a name for a subdocument
  8. -s <filename> On extract, specifies the file to extract
  9. subdocuments to.
  10. On archival, specifies an xml file to add
  11. as a subdocument.
  12. -l On archival, stay on the local device.
  13. -p On extract, set ownership based on symbolic
  14. names, if possible.
  15. -P On extract, set ownership based on uid/gid.
  16. --toc-cksum Specifies the hashing algorithm to use for
  17. xml header verification.
  18. Valid values: none, sha1, and md5
  19. Default: sha1
  20. --dump-toc=<filename> Has xar dump the xml header into the
  21. specified file.
  22. --dump-header Prints out the xar binary header information
  23. --compression Specifies the compression type to use.
  24. Valid values: none, gzip, bzip2
  25. Default: gzip
  26. --list-subdocs List the subdocuments in the xml header
  27. --extract-subdoc=name Extracts the specified subdocument
  28. to a document in cwd named <name>.xml
  29. --exclude POSIX regular expression of files to
  30. ignore while archiving.
  31. --rsize Specifies the size of the buffer used
  32. for read IO operations in bytes.
  33. --coalesce-heap When archived files are identical, only store one copy
  34. This option creates an archive which
  35. is not streamable
  36. --link-same Hardlink identical files
  37. --no-compress POSIX regular expression of files
  38. not to archive, but not compress.
  39. --version Print xar's version number
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement