1 .TH IMAGEX "1" "May 2012" "imagex (wimlib) wimlib @VERSION@" "User Commands"
3 imagex export \- Exports an image from a WIM archive to an existing or new WIM archive
6 \fBimagex export\fR \fISRC_WIMFILE\fR (\fISRC_IMAGE_NUM\fR | \
7 \fISRC_IMAGE_NAME\fR | all ) \fIDEST_WIMFILE\fR [\fIDEST_IMAGE_NAME\fR\] \
8 [\fIDEST_IMAGE_DESCRIPTION\fR] [\fIOPTION\fR]...
13 Copies the specified image in \fISRC_WIMFILE\fR to \fIDEST_WIMFILE\fR,
14 optionally changing its name and/or description and/or compression type.
15 If \fIDEST_WIMFILE\fR exists, it is taken be be a WIM archive to which the image
16 will be appended. Otherwise, it is created as a new WIM archive containing only
19 The source image may be specified by \fISRC_IMAGE_NUM\fR, which must be an integer that is
20 an index of an image in \fISRC_WIMFILE\fR, starting at 1. Alternatively, it may be
21 the name of an image in \fISRC_WIMFILE\fR, or it may be the keyword "all" to
22 specify that all images are to be exported.
24 If given, \fIDEST_IMAGE_NAME\fR specifies the name to give the image being
25 exported to \fIDEST_WIMFILE\fR. The default is its name in \fISRC_WIMFILE\fR.
26 \fIDEST_IMAGE_NAME\fR cannot be specified if multiple images are being exported.
28 If given, \fIDEST_IMAGE_DESCRIPTION\fR specifies the description to give the
29 image being exported to \fIDEST_WIMFILE\fR. The default is its description in
35 Specifies that the exported image is to be the bootable image of the destination
38 If multiple images are being exported, this flag indicates that the image in the
39 \fISRC_WIMFILE\fR that is currently marked as bootable is to be made bootable in
40 \fIDEST_WIMFILE\fR. If no image in \fISRC_WIMFILE\fR is bootable, it is an
44 When reading \fISRC_WIMFILE\fR, verify its integrity if the integrity table is
45 present; additionally, when writing \fIDEST_WIMFILE\fR with the new image added,
46 write an integrity table. If this option is not specified, no integrity table
47 is included in \fIDEST_WIMFILE\fR, even if there was one before.
49 \fB--compress\fR=\fITYPE\fR
50 Specifies the compression type for \fIDEST_WIMFILE\fR. This is only valid if
51 \fIDEST_WIMFILE\fR does not yet exist, since if \fIDEST_WIMFILE\fR exists, the
52 compression type must be the same as that of \fIDEST_WIMFILE\fR.
54 \fITYPE\fR may be "none", "maximum", or "fast". By default, it is "fast".
56 You may also specify the actual names of the compression algorithms, "XPRESS"
57 and "LZX", instead of "fast" and "maximum", respectively.
61 \fBimagex export\fR does not yet support split WIMs.
64 Export the second image of 'boot.wim' to the new WIM file 'image2.wim', and
65 change the compression type to maximum, if it wasn't maximum already:
68 image export boot.wim 2 image2.wim --compress=maximum