1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/xar.md

17 lines
357 B
Markdown
Raw Normal View History

2018-06-28 10:30:35 +08:00
# xar
> Manage .xar archives.
> More information: <https://manned.org/xar>.
2018-06-28 10:30:35 +08:00
2018-07-24 10:42:19 +05:30
- Create a xar archive of all files in a given directory:
2018-06-28 10:30:35 +08:00
`xar -cf {{archive.xar}} {{path/to/directory}}`
2018-06-28 10:30:35 +08:00
2018-07-24 10:42:19 +05:30
- List the contents of a given xar archive:
2018-06-28 10:30:35 +08:00
`xar -tf {{archive.xar}}`
2018-06-28 10:30:35 +08:00
2018-07-24 10:42:19 +05:30
- Extract the contents of a given xar archive to the current directory:
2018-06-28 10:30:35 +08:00
`xar -xf {{archive.xar}}`