LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] extracting single file from a tarball

[ILUG] extracting single file from a tarball

Conor Daly conor.daly at oceanfree.net
Tue Feb 6 20:57:51 GMT 2001


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




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell