mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-14 15:59:42 +00:00
Update cheatsheets
This commit is contained in:
21
xar
Normal file
21
xar
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# xar
|
||||
|
||||
> Manage .xar archives.
|
||||
> More information: <https://manned.org/xar>.
|
||||
|
||||
- Create a xar archive of all files in a given directory:
|
||||
|
||||
`xar -cf {{archive.xar}} {{path/to/directory}}`
|
||||
|
||||
- List 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}}`
|
||||
Reference in New Issue
Block a user