X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=doc%2Fman1%2Fwimlib-imagex-optimize.1;h=84cd3b510a8acb12f6bc8e0b205414ff5bf73df1;hb=refs%2Ftags%2Fv1.9.2;hp=64fe9a95169188a3bc6bffaf376b4ad854617166;hpb=94f8de6d411d58a0eb2e472cc1b984f195eb2447;p=wimlib diff --git a/doc/man1/wimlib-imagex-optimize.1 b/doc/man1/wimlib-imagex-optimize.1 index 64fe9a95..84cd3b51 100644 --- a/doc/man1/wimlib-imagex-optimize.1 +++ b/doc/man1/wimlib-imagex-optimize.1 @@ -1,4 +1,4 @@ -.TH WIMLIB-IMAGEX "1" "January 2015" "wimlib 1.7.4" "User Commands" +.TH WIMLIB-IMAGEX "1" "June 2016" "wimlib 1.9.2" "User Commands" .SH NAME wimlib-imagex-optimize \- Optimize a WIM archive .SH SYNOPSIS @@ -53,12 +53,12 @@ compatibility. See the documentation for this option to \fBwimlib-imagex capture\fR (1) for more details. .TP \fB--solid-chunk-size\fR=\fISIZE\fR -Like \fB--chunk-size\fR, but set the chunk size used in solid blocks. See the +Like \fB--chunk-size\fR, but set the chunk size used in solid resources. See the documentation for this option to \fBwimlib-imagex capture\fR (1) for more details. .TP \fB--solid-compress\fR=\fITYPE\fR[:\fILEVEL\fR] -Like \fB--compress\fR, but set the compression type used in solid blocks. See +Like \fB--compress\fR, but set the compression type used in solid resources. See the documentation for this option to \fBwimlib-imagex capture\fR (1) for more details. .TP @@ -77,6 +77,16 @@ pipable. \fB--not-pipable\fR Rebuild the WIM in the non-pipable format. (This is the default if \fIWIMFILE\fR is not pipable.) +.TP +\fB--unsafe-compact\fR +Compact the WIM file in-place, without using a temporary file. Existing +resources are shifted down to fill holes and new resources are appended as +needed. The WIM file is truncated to its final size, which may shrink the +on-disk file. THIS OPERATION CANNOT BE SAFELY INTERRUPTED! If the operation is +interrupted, then the WIM file will be corrupted, and it may be impossible (or +at least very difficult) to recover any data from it. Users of this option are +expected to know what they are doing and assume responsibility for any data +corruption that may result. .SH NOTES \fBwimlib-imagex optimize\fR does not support split WIMs. .PP @@ -99,14 +109,14 @@ Rebuild and recompress the WIM file 'install.wim': wimoptimize install.wim --recompress .RE .PP -Rebuild and recompress the WIM file 'install.wim', using "maximum" (LZX) +Rebuild and recompress the WIM file 'install.wim', using LZX ("maximum") compression at a higher-than-default compression level. The compression chunk size remains unchanged. This command will be slow, but it might be useful for -optimizing files for distribution. See the COMPRESSION RATIO section of the -README file for some benchmark results. +optimizing files for distribution. See +\fIhttps://wimlib.net/compression.html\fR for some benchmark results. .RS .PP -wimoptimize install.wim --compress=maximum:100 +wimoptimize install.wim --compress=LZX:100 .RE .PP .SH SEE ALSO