On Tue, Feb 06, 2001 at 04:50:59PM +0000 or so it is rumoured hereabouts,
Donncha O Caoimh thought:
> John McDonnell wrote:
> >
> > ladies and gentlemen of the Irish Linux Users Group, a quick question that
> > you may be able to assit me with:
> >
> > is there any way to get a single file back from a tarball?
> >
>> tar zxvf tarball.tar.gz path/to/file/filename
>> You'll have to specify the path as I did above, and it'll extract it to
> the same path in the current dir unless you tell it to go somewhere else
> using the -C switch..
>don't forget you can do a
tar -tf tarfile | grep fileyouwant
just to see what the damned path *is* anyhow...
--
Conor Daly <conor.daly at oceanfree.net>
Domestic Sysadmin :-)
---------------------
faenor.cod.ie
9:02pm up 106 days, 3:31, 0 users, load average: 0.42, 1.01, 1.02
Hobbiton.cod.ie
9:01pm up 11 days, 10:51, 2 users, load average: 0.00, 0.00, 0.00
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!