How to extract the folder by excluding one subfolder

Comments, questions, bug reports, etc.
Post Reply
jzef
Posts: 3
Joined: Fri Mar 01, 2024 7:33 pm

How to extract the folder by excluding one subfolder

Post by jzef »

I want to extract the EFI folder without WINDOWS\Boot\EFI\Microsoft\Boot\Fonts subfolder from install.wim file - now I do it, but there is a one warning:

log:

Code: Select all

Extracting EFI folder from install.wim without Fonts

[WARNING] Ignoring Windows NT security descriptors of 3 files
[WARNING] Ignoring DOS names of 3 files
Extracting file data: 1668 KiB of 1668 KiB (100%) done
Done extracting files.
[WARNING] No matches for path pattern "WINDOWS\Boot\EFI\Microsoft\*.*"
Done extracting files.
[WARNING] Ignoring Windows NT security descriptors of 2 files
[WARNING] Ignoring DOS names of 2 files
Extracting file data: 787 KiB of 787 KiB (100%) done
Done extracting files.
[WARNING] Ignoring Windows NT security descriptors of 1 files
[WARNING] Ignoring DOS names of 1 files
Extracting file data: 20 KiB of 20 KiB (100%) done
Done extracting files.
script.cmd

Code: Select all

echo:
echo Extracting EFI folder from install.wim without Fonts
echo:
wimlib-imagex extract %drive%\sources\install.wim 1 WINDOWS\Boot\EFI\Boot --dest-dir=%efi%\EFI
wimlib-imagex extract %drive%\sources\install.wim 1 WINDOWS\Boot\EFI\Microsoft\*.* --dest-dir=%efi%\EFI\Microsoft --nullglob
wimlib-imagex extract %drive%\sources\install.wim 1 WINDOWS\Boot\EFI\Microsoft\Boot\*.* --dest-dir=%efi%\EFI\Microsoft\Boot
wimlib-imagex extract %drive%\sources\install.wim 1 WINDOWS\Boot\EFI\Microsoft\Boot\BCC --dest-dir=%efi%\EFI\Microsoft\Boot
Should I remove the second line and it will be okay?
It can't be simplified?
Post Reply