mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 20:35:34 +02:00
xar: add page (#2834)
This commit is contained in:
parent
be07223d8c
commit
8f7020729e
1 changed files with 16 additions and 0 deletions
16
pages/osx/xar.md
Normal file
16
pages/osx/xar.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue