WIMOPTIMIZE - Online Linux Manual PageSection : 1
Updated : December 2021
Source : wimlib 1.13.5
Note : User Commands

NAMEwimoptimize − Optimize a WIM archive

SYNOPSISwimoptimize WIMFILE [OPTION...]

DESCRIPTIONwimoptimize, or equivalently wimlib-imagex optimize, rebuilds the standalone WIM archive WIMFILE. The new WIM is written to a temporary file, and it is renamed to the original file when it's ready. This will remove any holes that have been left in the WIM as a result of appending or deleting files or images, so the new WIM may be smaller than the old WIM. By default, wimoptimize will reuse (not recompress) compressed data and will not change the solid or pipable status of the WIM. However, it can also perform recompression and/or convert between solid, non-solid, pipable, and non-pipable WIMs; see the options and examples below.

OPTIONS--check  Before optimizing the WIM, verify its integrity if it contains extra integrity information. Also include extra integrity information in the optimized WIM, even if it was not present before. --nocheck  Do not include extra integrity information in the optimized WIM, even if it was present before. --include-integrity  Include extra integrity information in the optimized WIM, i.e. like --check but don't also verify the WIM beforehand. --recompress  Recompress all data in the WIM while optimizing it. This will significantly increase the time needed to optimize the WIM, but it may result in a better compression ratio if wimlib can do a better job than the program that created the WIM --- which is likely the case if the WIM was Microsoft-created, as wimlib's compressors are slightly stronger. --compress=TYPE[:LEVEL]  Recompress the WIM using the specified compression type, and optionally the specified compression level for that compression type. This implies --recompress. See the documentation for this option to wimcapture(1) for more details. --chunk-size=SIZE  Set the WIM compression chunk size to SIZE. See the documentation for this option to wimcapture(1) for more details. --solid  Create a "solid" archive that compresses multiple files together. This usually results in a significantly better compression ratio but has disadvantages such as reduced compatibility. See the documentation for this option to wimcapture(1) for more details. --solid-compress=TYPE[:LEVEL]  Like --compress, but set the compression type used in solid resources. See the documentation for this option to wimcapture(1) for more details. --solid-chunk-size=SIZE  Like --chunk-size, but set the chunk size used in solid resources. See the documentation for this option to wimcapture(1) for more details. --threads=NUM_THREADS  Number of threads to use for compressing data. Default: autodetect (number of processors). --pipable  Rebuild the WIM so that it can be applied fully sequentially, including from a pipe. See wimcapture(1) for more details about creating pipable WIMs. By default, when neither --pipable or --not-pipable is specified, the optimized WIM will be pipable if and only if it was pipable before. --not-pipable  Rebuild the WIM in the non-pipable format. --unsafe-compact  Compact the WIM in-place, without using a temporary file. Existing resources are shifted down to fill holes and new resources are appended as needed. The WIM is truncated to its final size, which may shrink the on-disk file. This is more efficient than a full rebuild, but it is only supported when no recompression is being done. More importantly, AN UNSAFE COMPACTION OPERATION CANNOT BE SAFELY INTERRUPTED! If the operation is interrupted, then the WIM 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.

NOTESwimoptimize does not support split WIMs or delta WIMs. For such files, consider using wimexport(1) instead. Note that wimoptimize is roughly equivalent to: wimexport WIMFILE all tmp.wim && mv tmp.wim WIMFILE

EXAMPLESRebuild 'install.wim': wimoptimize install.wim Rebuild and recompress 'install.wim': wimoptimize install.wim --recompress Rebuild and recompress '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 https://wimlib.net/compression.html for some benchmark results. wimoptimize install.wim --compress=LZX:100 Recompress 'install.wim' using solid-mode compression, then rename it to ´install.esd´. This will decrease the archive size significantly. (Also consider using 'wimexport install.wim all install.esd --solid'.): wimoptimize install.wim --solid
mv install.wim install.esd

SEE ALSOwimlib-imagex(1) wimexport(1) wimverify(1)
0
Johanes Gumabo
Data Size   :   16,693 byte
man-wimoptimize.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 164,599
Visitor ID   :     :  
Visitor IP   :   18.226.214.1   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.