wimlib-imagex-dir (1) - Linux Manuals

wimlib-imagex-dir: Show the files contained in a WIM archive


wimlib-imagex-dir - Show the files contained in a WIM archive


wimlib-imagex dir WIMFILE IMAGE [OPTIONS]


Lists the files and directories contained in the specified image of the Windows Imaging (WIM) file WIMFILE. This command is also available as simply wimdir if the appropriate hard link or batch file has been installed.

IMAGE specifies the image in WIMFILE to show the files of. It may be a 1-based index of an image in WIMFILE, the name of an image in WIMFILE, or the keyword "all" to indicate that files from all images in WIMFILE are to be shown. Use the wimlib-imagex info (1) command to show what images a WIM file contains.


List the files recursively from the PATH directory instead of from the root directory.
List detailed information about each file.
Show information about one file only. Intended for use with both --path and --detailed.
File glob of additional WIMs or split WIM parts to reference resources from. This option can be specified multiple times. This option is only useful when --detailed is also specified.


wimlib-imagex dir supports split WIMs, but it will only work on the first part of the split WIM.

DOS names and alternate (named) data streams are not listed unless the --detailed mode is used.


List all files in the first image of 'boot.wim':

wimlib-imagex dir boot.wim 1