Single file extract from a tar

How can I do a single file extract from a tar file

tar xvf example.tar => extracts the whole tar file, which may be very large.

Might be missing it in the man pages
 
[cmd=]tar zxvf bla.tar.gz --include="file.to.extract"[/cmd]

or

[cmd=]tar zxvf bla.tar.gz --include="*pattern*"[/cmd]
 
DutchDaemon said:
Just pretend I'm not here ;)

Ooops! I did not refresh my page before posting, just wanted to post a solution before wasting anyone else's effort.

Yes you were there and please forgive the omission
 
Back
Top