tldr/pages/linux/xar.md

16 lines
313 B
Markdown
Raw Normal View History

2018-06-28 03:30:35 +01:00
# xar
> Manage .xar archives.
- Create a xar archive of all files in {{directory}}:
`xar -cf {{archive.xar}} {{path/to/directory}}`
2018-06-28 03:30:35 +01:00
- List the contents of the xar archive sample.xar:
`xar -tf {{archive.xar}}`
2018-06-28 03:30:35 +01:00
- Extract the contents of sample.xar to the current working directory:
`xar -xf {{archive.xar}}`