J jaymax Aug 5, 2009 #1 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
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
DutchDaemon Administrator Staff member Administrator Moderator Developer Aug 5, 2009 #2 The HowTo & FAQ forum is not for asking 'how to' ..
DutchDaemon Administrator Staff member Administrator Moderator Developer Aug 5, 2009 #3 [cmd=]tar zxvf bla.tar.gz --include="file.to.extract"[/cmd] or [cmd=]tar zxvf bla.tar.gz --include="*pattern*"[/cmd]
[cmd=]tar zxvf bla.tar.gz --include="file.to.extract"[/cmd] or [cmd=]tar zxvf bla.tar.gz --include="*pattern*"[/cmd]
OP J jaymax Aug 5, 2009 Thread Starter #4 Answering myself tar xvf tarfile.tar --include='desiredfile' did it!
DutchDaemon Administrator Staff member Administrator Moderator Developer Aug 5, 2009 #5 Just pretend I'm not here
OP J jaymax Aug 5, 2009 Thread Starter #7 DutchDaemon said: Just pretend I'm not here Click to expand... 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
DutchDaemon said: Just pretend I'm not here Click to expand... 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