How can I extract a single file from a 7z archive?

aard9 aard9
Aardon Warner

I can extract a complete archive via

7z x archive.7z

However, I only want to extract a single file from that archive. The option -i does not work as I would expect.

Some more puzzled users want to know this at ubuntuforums

wr wr
Willi Richert (TwoToReal)

According to hardforum you can use the command e for that

7z e archive.7z filename

filename must be the complete path within the archive (find out with command l).

aard9 aard9
Aardon Warner

Thanks!

You
Preview: