WIMDIR(1)

πŸ’– WIMDIR β€” like, the manual page, bestie πŸ’–

okay so this is wimdir(1), a User Commands situation, and it's genuinely one of my faves because it's SO straightforward. come sit, I'll tell you everything 🫢


✨ NAME ✨

wimdir β€” list the files contained in a WIM image πŸ‘‘


🌸 SYNOPSIS 🌸

wimdir WIMFILE [IMAGE] [OPTION...]

πŸ¦‹ DESCRIPTION πŸ¦‹

wimdir, or equivalently wimlib-imagex dir, lists the files and directories contained in the specified image of the Windows Imaging (WIM) archive WIMFILE. literally that's the whole job and she does it beautifully πŸ’…

IMAGE specifies the image in WIMFILE to list. and bestie, it can be a few different things:

  • the 1-based index of an image πŸ”’
  • the name of an image 🏷️
  • the keyword "all" to specify all images 🌈

you can just leave IMAGE out if WIMFILE contains only one image, she'll figure it out, no cap. and if you wanna know which images are even in there, use wiminfo(1) to list the images contained in WIMFILE. iykyk ✨


πŸŽ€ OPTIONS πŸŽ€

  • --path=PATH β€” list the files under PATH instead of under the root directory. like, pick your starting point, main character energy πŸšͺ
  • --detailed β€” list detailed information about each file. she's giving receipts, she's giving lore πŸ“‹
  • --one-file-only β€” list information about the specified file only. intended for use with both --path and --detailed. just the one file, she's being selective, periodt πŸ’…
  • --ref="GLOB" β€” 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. so like, extra WIM friends can come to the party, but only if you brought --detailed too 🎟️✨

πŸ’œ NOTES πŸ’œ

wimdir supports split WIMs, but it only works on the first part of the split WIM. so sorry to the other parts, they're not getting listed today 😭

Detailed metadata such as timestamps and data streams is not shown unless the --detailed option is used. so if you're like "where are my timestamps" β€” bestie, you forgot the flag πŸ™ˆ


πŸ”₯ EXAMPLES πŸ”₯

list all files and directories in the first image of boot.wim:

wimdir boot.wim 1

iconic. flawless. ate. πŸ“


⭐ SEE ALSO ⭐

wimlib-imagex(1) wiminfo(1)

go read those too, they're also serving πŸ’–


fr fr, that's the whole page. every flag, every default, every little caveat. nothing skipped, nothing invented, we keep the facts and add the sparkle πŸ’«

wimlib 1.14.5 Β· January 2026 β€” mwah, sending you off with the source and date, bye bestie! πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from