2018-06-28 03:30:35 +01:00
|
|
|
# xar
|
|
|
|
|
|
|
|
> Manage .xar archives.
|
|
|
|
|
2018-07-24 06:12:19 +01:00
|
|
|
- Create a xar archive of all files in a given directory:
|
2018-06-28 03:30:35 +01:00
|
|
|
|
2018-07-24 06:11:25 +01:00
|
|
|
`xar -cf {{archive.xar}} {{path/to/directory}}`
|
2018-06-28 03:30:35 +01:00
|
|
|
|
2018-07-24 06:12:19 +01:00
|
|
|
- List the contents of a given xar archive:
|
2018-06-28 03:30:35 +01:00
|
|
|
|
2018-07-24 06:11:25 +01:00
|
|
|
`xar -tf {{archive.xar}}`
|
2018-06-28 03:30:35 +01:00
|
|
|
|
2018-07-24 06:12:19 +01:00
|
|
|
- Extract the contents of a given xar archive to the current directory:
|
2018-06-28 03:30:35 +01:00
|
|
|
|
2018-07-24 06:11:25 +01:00
|
|
|
`xar -xf {{archive.xar}}`
|