Sample Header Ad - 728x90

Extracting a specific file from an archive using 7-Zip

14 votes
3 answers
20405 views
I run Linux Live CD and I need to extract a specific file from a wim-archive that is located on a disk drive. I know a full path to the file in the archive: xubuntu@xubuntu:~$ 7z l winRE.wim | grep -i bootrec.exe 2009-08-28 15:02:29 ....A 299008 134388 Windows/System32/BootRec.exe I am short on disk space and do not have a possibility to unpack the whole archive. How could I extract that specific file from the archive? I tried the -i option, but that did not work: xubuntu@xubuntu:~$ 7z x -i Windows/System32/BootRec.exe winRE.wim Error: Incorrect command line
Asked by Alexander Pozdneev (969 rep)
Aug 5, 2018, 09:22 AM
Last activity: Jan 16, 2025, 01:13 PM