From e3079dba6c806f33cc110bac97b4f46ee4049a8a Mon Sep 17 00:00:00 2001 From: johan456789 Date: Thu, 28 Jun 2018 10:30:35 +0800 Subject: [PATCH] Create xar.md --- pages/linux/xar.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/linux/xar.md diff --git a/pages/linux/xar.md b/pages/linux/xar.md new file mode 100644 index 0000000000..856aec29a5 --- /dev/null +++ b/pages/linux/xar.md @@ -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`