Create xar.md

This commit is contained in:
johan456789 2018-06-28 10:30:35 +08:00 committed by Starbeamrainbowlabs
parent 15f352df24
commit e3079dba6c

15
pages/linux/xar.md Normal file
View File

@ -0,0 +1,15 @@
# xar
> Manage .xar archives.
- Create a xar archive of all files in {{directory}}:
`xar -cf sample.xar {{directory}}`
- List the contents of the xar archive sample.xar:
`xar -tf sample.xar`
- Extract the contents of sample.xar to the current working directory:
`xar -xf sample.xar`