wimlib-imagex - Extract, create, modify, or mount a WIM (Windows Imaging Format) archive
wimlib-imagex append arguments... wimlib-imagex apply arguments... wimlib-imagex capture arguments... wimlib-imagex delete arguments... wimlib-imagex dir arguments... wimlib-imagex export arguments... wimlib-imagex extract arguments... wimlib-imagex info arguments... wimlib-imagex join arguments... wimlib-imagex mount arguments... wimlib-imagex mountrw arguments... wimlib-imagex optimize arguments... wimlib-imagex split arguments... wimlib-imagex unmount arguments... wimlib-imagex update arguments... wimlib-imagex verify arguments...
wimlib-imagex deals with archives in the Windows Imaging Format (WIM). Its interface is similar to Microsoft's ImageX, but wimlib-imagex is cross-platform and has useful improvements and extensions. To do its work, wimlib-imagex uses wimlib, an open source C library that provides interfaces for manipulating WIM archives. wimlib is completely independent from the equivalent Microsoft implementation (WIMGAPI, or wimgapi.dll). You can use wimlib in your own programs, although for command-line use wimlib-imagex already provides access to most of wimlib's functionality.
The Windows Imaging Format (WIM) was designed by Microsoft primarily for archiving Windows filesystems, such as NTFS. However, it can be used on other platforms as well, with some limitations. A WIM archive contains one or more images, each of which is a logically independent directory tree. Images are indexed starting from 1, and each may also have a name. File data is stored as content-addressable "blobs" that are deduplicated across the entire archive. Data may be compressed using one of several compression algorithms. An update of the WIM format released with Windows 8 features solid compression using the LZMS compression algorithm. Such files are also called "ESD files" and may carry the extension .esd instead of .wim. wimlib-imagex v1.6.0 and later supports these new files, unless they are encrypted.
wimlib-imagex accepts one of a number of commands (listed above in SYNOPSYS), and additional arguments depending on the specific command. Although wimlib-imagex will print usage information with --help or if you invoke it incorrectly, the full documentation for each wimlib- imagex command can be found in the appropriate manual page. Note: to save typing, if appropriate hard links or batch files have been installed, a command wimlib-imagex COMMAND can also be accessed as simply wimCOMMAND; for example, wimapply for wimlib-imagex apply.
The following are some of the general features, or use cases, currently supported by wimlib-imagex, and pointers to the relevant commands: * Display information about a WIM file (wimlib-imagex info) * List the files in a WIM image (wimlib-imagex dir) * Extract, or "apply", a full WIM image (wimlib-imagex apply) * Extract files or directories from a WIM image (wimlib-imagex extract) * Capture a WIM image and save it to a new WIM file (wimlib-imagex capture) * Capture a WIM image and append it to an existing WIM file (wimlib-imagex append) * Modify a WIM image by adding, deleting, or renaming files (wimlib-imagex update) * (Linux only) Mount a WIM image read-only (wimlib-imagex mount) * (Linux only) Mount a WIM image read-write (wimlib-imagex mountrw) * Delete an image from a WIM file (wimlib-imagex delete) * Export image(s) from a WIM file (wimlib-imagex export) * Change the name or description of a WIM image (wimlib-imagex info) * Change the bootable image index of a WIM file (wimlib-imagex info) * Rebuild, and optionally recompress, a WIM file (wimlib-imagex optimize) * Split a WIM file into multiple parts (wimlib-imagex split) * Join a split WIM (wimlib-imagex join) * Verify a WIM file (wimlib-imagex verify)
This section presents some of the interesting features of wimlib-imagex in more detail. * Multi-platform support. wimlib-imagex is supported on both UNIX- like systems (mainly Linux, but also FreeBSD, Mac OS X, etc.) and Windows, and most code is shared among all platforms. However, platform-specific features are supported when possible. * On UNIX-like systems, integration with libntfs-3g allows capturing a WIM image directly from a block device containing an NTFS volume, or applying a WIM image directly to a block device containing an NTFS volume. This allows saving and restoring NTFS-specific data, such as security descriptors and named data streams, which would otherwise only be supported on Windows. * Long path support on Windows. wimlib-imagex can capture and apply files with paths exceeding the MAX_PATH (260 character) limitation of the Win32 subsystem. * Non-Administrator support on Windows. You can run wimlib-imagex without Administrator rights, subject to some limitations. * Support for WIM integrity tables. An integrity table is a list of SHA-1 message digests appended to the end of a WIM file which gives checksums over the WIM file itself. The --check option to several wimlib-imagex commands can be used to verify or add integrity tables. * On UNIX-like systems, support for saving and restoring UNIX uids (user IDs), gids (group IDs), and modes to/from WIM images. This is a wimlib extension, but the Microsoft implementation ignores this extra metadata. * Multithreaded compression. By default, data compression is multithreaded and will use all available processors. * XPRESS, LZX, and LZMS decompression and compression. wimlib contains independent implementations of all these compression algorithms. Sometimes they can do better than the equivalent Microsoft implementations. * "ESD file" support. As mentioned in BACKGROUND INFORMATION, "ESD files" use a new WIM format that features solid resources and LZMS compression. This support was first present in wimlib v1.6.0, but v1.7.0 and later have improved compatibility. * On Linux, support for mounting WIM images with FUSE (Filesystem in UserSpacE). * "Pipable" WIMs. This is a wimlib extension and is not compatible with the Microsoft implementation. A pipable WIM, created with wimcapture with the --pipable option, can be written to standard output or read from standard input. This can be used to pipe images to or from a server over the network to implement fast filesystem imaging and restore. * Split WIMs. A split WIM is a WIM archive split into multiple parts. wimsplit can create a split WIM from a standalone WIM, and wimjoin can 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 wimcapture with the --delta-from option. * Fast incremental backups. Using the --update-of option of wimcapture or wimappend, you can optimize an image capture so that files that are unmodified based on timestamps are not be read from disk. But even without this option, since the WIM format features single-instance files, a file identical to any already present in the WIM archive (in any image) will not be written, but rather a reference to the stored file will be used. * 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 filter driver (WOF). With the --wimboot option, wimapply will extract "pointer files" to the WIM archive rather than the files themselves. * VSS snapshot support. On Windows, wimcapture or wimappend with the --snapshot option will automatically create a temporary VSS snapshot and capture the image from it. This can be used to image a "live" Windows system.
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. 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 such paths will be treated case sensitively. Regardless of these settings, options and non-path arguments must be specified in lower case.
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.
Report bugs to [email protected]. Feedback and suggestions are also welcome.
wimlib-imagex-append(1), wimlib-imagex-apply(1), wimlib-imagex- capture(1), wimlib-imagex-delete(1), wimlib-imagex-dir(1), wimlib- imagex-export(1), wimlib-imagex-extract(1), wimlib-imagex-info(1), wimlib-imagex-join(1), wimlib-imagex-mount(1), wimlib-imagex- mountrw(1), wimlib-imagex-optimize(1), wimlib-imagex-split(1), wimlib- imagex-unmount(1), wimlib-imagex-update(1), wimlib-imagex-verify(1),
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.