WIMLIB-IMAGEX(1)
β¨ NAME β¨
okay so first things first, this is the manual page for wimlib-imagex, from the User Commands section of your friendly neighbourhood man pages. and what does it do?? it Extract, create, modify, or mount a WIM archive. that's the whole vibe. one binary, seventeen whole personalities, we'll get to that π
π SYNOPSIS π
bestie. there are SO many ways to call this thing. every command has its own lil alias, so you can be lazy and type the short one, or be extra and type the full one. same energy either way:
wimlib-imagex append arguments... (or wimappend arguments...)
wimlib-imagex apply arguments... (or wimapply arguments...)
wimlib-imagex capture arguments... (or wimcapture arguments...)
wimlib-imagex delete arguments... (or wimdelete arguments...)
wimlib-imagex dir arguments... (or wimdir arguments...)
wimlib-imagex export arguments... (or wimexport arguments...)
wimlib-imagex extract arguments... (or wimextract arguments...)
wimlib-imagex info arguments... (or wiminfo arguments...)
wimlib-imagex join arguments... (or wimjoin arguments...)
wimlib-imagex mount arguments... (or wimmount arguments...)
wimlib-imagex mountrw arguments... (or wimmountrw arguments...)
wimlib-imagex optimize arguments... (or wimoptimize arguments...)
wimlib-imagex split arguments... (or wimsplit arguments...)
wimlib-imagex unmount arguments... (or wimunmount arguments...)
wimlib-imagex update arguments... (or wimupdate arguments...)
wimlib-imagex verify arguments... (or wimverify arguments...)
like. it's giving main character with a whole ensemble cast π
π¦ DESCRIPTION π¦
so. wimlib-imagex is your girl for dealing with archive files in the Windows Imaging (WIM) format. her interface is lowkey similar to Microsoft's ImageX, but plot twist β wimlib-imagex is cross-platform and comes with genuinely useful improvements and extensions. we ate and left no crumbs π
to do all this, wimlib-imagex uses wimlib, an open source C library that gives you interfaces for manipulating WIM archives. and here's the thing β wimlib is completely independent from the equivalent Microsoft implementation (WIMGAPI, or wimgapi.dll). no shared bloodline, no cap. you can absolutely use wimlib in your own programs too, though ngl for command-line use wimlib-imagex already hands you access to most of wimlib's functionality π«Ά
πΈ BACKGROUND INFORMATION πΈ
the Windows Imaging (WIM) format was designed by Microsoft, primarily for archiving Windows filesystems, like NTFS. but bestie it can be used on other platforms as well, with some limitations. here's the tea:
a WIM archive contains one or more images, and each image is a logically independent directory tree. images are indexed starting from 1, and each one may also have a name. file data is stored as content-addressable "blobs" that get deduplicated across the entire archive. data may be compressed using one of several compression algorithms.
now, there's an update of the WIM format that Microsoft released with Windows 8 which uses solid-mode LZMS compression to achieve a better compression ratio. these files are also called "ESD files" and may have the .esd extension instead of .wim. wimlib fully supports these files β except when they're encrypted π
π COMMANDS π
wimlib-imagex accepts one of a number of commands (all listed up there in the SYNOPSIS, yes including the typo, we love her), plus additional arguments depending on the specific command. and like, wimlib-imagex will print usage information if you pass --help or if you invoke it incorrectly, but the full documentation for each command lives in its own appropriate manual page. so go read those too, bestie π
Note: if appropriate hard links or batch files have been installed, a commandwimlib-imagex COMMANDcan also be accessed as simplywimCOMMANDβ for example,wimapplyforwimlib-imagex apply. for brevity, the documentation uses the shorter names. iconic behaviour, honestly.
β¨ GENERAL FEATURES β¨
here's a lil sampler platter of the general features / use cases wimlib-imagex currently supports, plus pointers to the relevant commands. a whole menu, and you get to pick π
- Display information about a WIM file (
wiminfo) - List the files in a WIM image (
wimdir) - Extract, or "apply", a full WIM image (
wimapply) - Extract files or directories from a WIM image (
wimextract) - Capture a WIM image and save it to a new WIM file (
wimcapture) - Capture a WIM image and append it to an existing WIM file (
wimappend) - Modify a WIM image by adding, deleting, or renaming files (
wimupdate) - (Linux only) Mount a WIM image read-only (
wimmount) - (Linux only) Mount a WIM image read-write (
wimmountrw) - Delete an image from a WIM file (
wimdelete) - Export image(s) from a WIM file (
wimexport) - Change the name or description of a WIM image (
wiminfo) - Change the bootable image index of a WIM file (
wiminfo) - Rebuild, and optionally recompress, a WIM file (
wimoptimize) - Split a WIM file into multiple parts (
wimsplit) - Join a split WIM (
wimjoin) - Verify the validity and integrity of a WIM file (
wimverify)
π₯ DETAILED FEATURES π₯
okay now we're getting into the good stuff. this section presents some of the interesting features of wimlib-imagex in more detail. get comfy π
- Multi-platform support.
wimlib-imagexis supported on both UNIX-like systems (mainly Linux, but also FreeBSD, Mac OS X, etc.) and Windows. most code is shared among all platforms, but platform-specific features are still supported when possible. - XPRESS, LZX, and LZMS compression and decompression. wimlib contains advanced implementations of all these compression algorithms. these have been improved over time and now usually outperform and outcompress their Microsoft equivalents, while remaining fully compatible. she's not just pretty, she's competent π
- Solid-mode compression, or "ESD file", support. "ESD files" are an updated WIM format that uses solid LZMS compression to achieve a better compression ratio.
- Multithreaded compression. by default, wimlib's data compression is multithreaded and will use all available processors. all cores, all hands on deck β¨
- On UNIX-like systems, integration with
libntfs-3gallows capturing a WIM image directly from an NTFS volume, or applying a WIM image directly to an NTFS volume. this allows saving and restoring NTFS-specific data and metadata, such as security descriptors and named data streams, which would otherwise only be supported on Windows. - On UNIX-like systems, optional support for saving and restoring standard UNIX file permissions (owner/group/mode), UNIX special files, and extended attributes. (this is a wimlib extension; Microsoft's WIM software ignores this extra information. their loss honestly.)
- On Linux, support for mounting WIM images with FUSE (Filesystem in UserSpacE), both readonly and read-write.
- Split WIMs. a split WIM is a WIM archive split into multiple parts.
wimsplitcan create a split WIM from a standalone WIM, andwimjoincan create a standalone WIM from a split WIM. - Delta WIMs. a delta WIM contains image metadata but excludes file data already present in another WIM file. a delta WIM can be created using
wimcapturewith the--delta-fromoption. - "Pipable" WIMs. as a wimlib extension (not compatible with the Microsoft implementation),
wimcapturesupports capturing a WIM file to standard output in a special "pipable" format which can later be applied by sending it towimapplyon standard input. among other things, this can be used to pipe images to or from a server over the network to implement fast filesystem imaging and restore. pipeline girlies rise π§ - Support for WIM integrity tables. although file data in WIM archives is always checksummed, there can also be an extra set of checksums (an "integrity table") associated with the WIM file itself to provide extra integrity assurance. the
--checkoption to severalwimlib-imagexcommands can be used to verify or add these extra checksums. - Fast incremental backups. because WIM archives use content-addressible file data, the contents of files are automatically deduplicated. in addition, using the
--update-ofoption ofwimcaptureorwimappend, you can optimize an image capture so that files that are unmodified based on timestamps are not even read from disk. she literally skips the work. queen behaviour π - Windows-specific image metadata support. when capturing an image of a Windows operating system, wimlib will automatically populate XML metadata fields such as the Windows OS version details by scanning well-known system files.
- WIMBoot support. on Windows 8.1 and later, files can be "externally backed" by a WIM archive with the help of Microsoft's Windows Overlay Filesystem (WOF) filter driver. with the
--wimbootoption,wimapplywill extract "pointer files" to the WIM archive rather than the files themselves. - VSS snapshot support. on Windows,
wimcaptureorwimappendwith the--snapshotoption will automatically create a temporary VSS snapshot and capture the image from it. this can be used to image a "live" Windows system. no downtime, no drama π - Long path support on Windows.
wimlib-imagexcan capture and apply files with paths exceeding theMAX_PATH(260 character) limitation of the Win32 subsystem. - Non-Administrator support on Windows. you can run
wimlib-imagexwithout Administrator rights, subject to some limitations.
π COMMON OPTIONS π
these work for all wimlib-imagex commands. universal. for everyone. periodt.
--helpβ display the help, then exit.--versionβ display the version and legal information, then exit.--quietβ suppress informational and progress messages.
π¦ CASE SENSITIVITY π¦
okay this one's important so pay attention bestie π«Ά
by default, the case sensitivity of wimlib-imagex differs somewhat between UNIX-like systems and Windows. WIM images may (but usually do not) have multiple files with the same case-insensitive name. internally, wimlib stores filenames as case-sensitive, but on Windows, paths actually provided by the user for use in a WIM image (e.g. for extracting, adding, renaming, or deleting files) will by default be treated as case-insensitive in order to get the "expected" behavior. this differs from the default behavior on UNIX-like systems, where such paths will be treated as case-sensitive.
note that with case insensitivity, a path component may in general be ambiguous due to multiple files or directories having the same case-insensitive name. in such cases, if there is a file or directory with an exactly matching name, it is chosen; otherwise, one of the case-insensitively matching file or directories is chosen arbitrarily. so like... she's doing her best, okay π
the default case sensitivity of wimlib-imagex can be overridden by explicitly setting the environmental variable WIMLIB_IMAGEX_IGNORE_CASE to 1, in which case such paths will be treated case insensitively, or 0, in which case such paths will be treated case sensitively.
regardless of these settings, options and non-path arguments must be specified in lower case. lowercase or nothing, no exceptions π
π LICENSE π
wimlib-imagex may be redistributed and/or modified under the terms of the GNU General Public License; either version 3 of the License, or (at your option) any later version. there is NO WARRANTY, to the extent permitted by law.
π REPORTING BUGS π
report bugs to https://wimlib.net/forums/. feedback and suggestions are also welcome π she wants to hear from you.
β¨ SEE ALSO β¨
ok bestie if you're still here, you're a real one π«Ά here's the whole friend group, the other commands that live in the same house:
wimappend(1)wimapply(1)wimcapture(1)wimdelete(1)wimdir(1)wimexport(1)wimextract(1)wiminfo(1)wimjoin(1)wimmount(1)wimmountrw(1)wimoptimize(1)wimsplit(1)wimunmount(1)wimupdate(1)wimverify(1)
like, go read those too π that's the whole squad, no cap.
and that's the page, bestie β¨ you made it to the end, which is honestly giving main character energy π
this lil masterpiece is from wimlib 1.14.5, dated January 2026, and it's literally the WIMLIB-IMAGEX(1) manual page π
now go forth and image things π ππ¦
π¦ where this page comes from
- arch rolling: wimlib 1.14.5-4 Β· LGPL-2.1-only OR LGPL-3.0-only
- fedora 43: wimlib-utils 1.14.5-1.fc43 Β· GPL-3.0-or-later AND MIT
- fedora 44: wimlib-utils 1.14.5-1.fc44 Β· GPL-3.0-or-later AND MIT
- nixpkgs unstable: wimlib 1.14.5
- ubuntu resolute: wimtools 1.14.5-1 Β· GPL3.0+-with-exception
- ubuntu stonking: wimtools 1.14.5-1build1 Β· GPL3.0+-with-exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms