mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-13 19:15:29 +02:00
17 lines
360 B
Markdown
17 lines
360 B
Markdown
![]() |
# xar
|
||
|
|
||
|
> Manage .xar archives.
|
||
|
> Homepage: <https://linux.die.net/man/1/xar>.
|
||
|
|
||
|
- Create a xar archive of all files in a given directory:
|
||
|
|
||
|
`xar -cf {{archive.xar}} {{path/to/directory}}`
|
||
|
|
||
|
- Lis[t] the contents of a given xar archive:
|
||
|
|
||
|
`xar -tf {{archive.xar}}`
|
||
|
|
||
|
- Extract the contents of a given xar archive to the current directory:
|
||
|
|
||
|
`xar -xf {{archive.xar}}`
|