tldr/pages/osx/xar.md

17 lines
359 B
Markdown
Raw Normal View History

2019-03-18 15:07:56 +00:00
# xar
> Manage .xar archives.
> More information: <https://manned.org/xar>.
2019-03-18 15:07:56 +00:00
- 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}}`