tldr/pages/linux/xar.md

16 lines
311 B
Markdown
Raw Normal View History

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