From c2a39d42c246e0e9db0e65712bd77c1fb635b526 Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Thu, 28 Jan 2016 15:42:05 -0500 Subject: [PATCH] xz: add page --- pages/common/xz.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/common/xz.md diff --git a/pages/common/xz.md b/pages/common/xz.md new file mode 100644 index 000000000..f43774c84 --- /dev/null +++ b/pages/common/xz.md @@ -0,0 +1,23 @@ +# xz + +> Compress or decompress .xz and .lzma files. + +- Compress a file: + +`xz {{file}}` + +- Decompress a file: + +`xz -d {{file.xz}}` + +- Decompress a file and write to stdout: + +`xz -dc {{file.xz}}` + +- Compress a file, but don't delete the original: + +`xz -k {{file}}` + +- Compress a file and attempt to improve compression ratio by using more CPU time: + +`xz -e {{file}}`