]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/UserManuals/LzmaCompress_Utility_Man_Page.rtf
e220416a08f8bfaaf252f3bd40bfcea7e1e639b8
[mirror_edk2.git] / BaseTools / UserManuals / LzmaCompress_Utility_Man_Page.rtf
1 {\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052\deftab360{\fonttbl{\f0\fswiss\fprq2\fcharset0 Verdana;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fmodern\fprq1\fcharset0 Courier New;}{\f3\fswiss\fprq2\fcharset0 Arial;}}
2 {\colortbl ;\red0\green127\blue127;\red0\green0\blue0;}
3 {\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}}
4 {\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\f0\fs28 Name\par
5 \pard\nowidctlpar\sb200\cf2\b0\fs18 LzmaCompress.exe \endash encode or decode a file by LZMA compress/decompress algorithm\par
6 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 Synopsis\par
7 \pard\nowidctlpar\sb200\cf2\fs18 LzmaCompress -e|-d [options] <inputFile>\par
8 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\fs28 Description\par
9 \pard\nowidctlpar\sb200\cf2\b0\fs18 LzmaCompress tool is used to encode or decode files with LZMA encode or decode algorithm. When \ldblquote -e\rdblquote option specified in command line, then the tool will encode the input file with LZMA encode algorithm; when \ldblquote -d\rdblquote option specified in command line, then the tool will decode the input file with LZMA decode algorithm. When decoding file, this tool performs some rudimentary checking on the input files to verify they are indeed compressed by LZMA algorithm. These checks include: \par
10 Check the input file header (5 + 8 bytes header); \par
11 The first 5 bytes is the attribute of compression. \par
12 The following 8 bytes is original size which is the input file size and it is the decompressed file size. \par
13 While encoding file, this tool does not perform any checking.\par
14 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 Options\par
15 \pard\nowidctlpar\sb200\cf2\fs18 -e \b0 Encode the input file, which means to compress the input file\par
16 \b -d\b0 Decode the input file, which means to decompress the input file\par
17 \b -o, --output Filename\b0\f1\par
18 \f0 The file containing encoded or decoded content of input file\par
19 \b --version\par
20 \b0\f1\tab\f0 Print version and copyright of this program and exit\par
21 \b -v, --verbose\par
22 \b0 Turn on verbose output with informational messages printed. This is a count value, so specifying \endash v can be used to increase the verbosity level.\par
23 \b -q, --quiet\b0\f1\par
24 \tab\f0 Disable all messages except FATAL ERRORS\par
25 \b --debug [0-9]\par
26 \b0\f1\tab\f0 Enable debug messages. Only 0-9 Level is supported.\par
27 \b -h, --help\par
28 \b0\f1\tab\f0 Print copyright, version and usage of this program and exit\par
29 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 Example\par
30 \pard\nowidctlpar\sb200\cf2\b0\fs18 1. Encode the input file \ldblquote file.efi\rdblquote and specify the output file name with \ldblquote file.lzma\rdblquote\par
31 \b LzmaCompress \endash e \endash o file.lzma file.efi\par
32 \b0 2. Decode the input file \ldblquote file.lzma\rdblquote and specify the output file name with \ldblquote file.orig\rdblquote\par
33 \b LzmaCompress \endash d \endash o file.orig file.lzma\par
34 \b0 3. Decode the input file "file.lzma" in the quiet mode and specify the output file name with "file.orig"\par
35 \b LzmaCompress \endash d -q \endash o file.orig file.lzma\par
36 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\fs28 Bugs\par
37 \pard\nowidctlpar\sb200\cf2\b0\fs18 No known bugs.\par
38 Report bugs to edk2-buildtools-devel@lists.sourceforge.net\f1\par
39 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\f0\fs28 Files\par
40 \pard\nowidctlpar\sb200\cf2\b0\fs18 None\par
41 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 See also\par
42 \pard\nowidctlpar\cf0\b0\f2\fs20 LZMA algorithm is in http://www.7-zip.org\par
43 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\f0\fs28 License\par
44 \pard\nowidctlpar\cf2\b0\fs18 Based on LZMA Utility 4.65 : Igor Pavlov : Public domain : 2009-02-03\par
45 \par
46 Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.\par
47 This program and the accompanying materials\par
48 are licensed and made available under the terms and conditions of the BSD License\par
49 which accompanies this distribution. The full text of the license may be found at\par
50 http://opensource.org/licenses/bsd-license.php\par
51 \par
52 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\par
53 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\par
54 \cf0\f3\fs20\par
55 }
56