Re: Can you untar selectively?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 15, 2005 at 02:43:29AM -0400, mark@xxxxxxxxxxxxxx wrote:
> On Wed, Jun 15, 2005 at 01:04:28PM +1000, stefaan wrote:
> > How would I go about untarring a particular file selectively out of a
> > tarball.
> > Is this possible at all if I know the path/filename existing in the tarball?
> > Also been looking at cpio, would this maybe do it?
> 
>     tar -xvf blah.tar my/file/name.c
> 
The above will do it if my/file/name.c is exactly how the file appears
in the tar list produced by: tar tvf blah.tar
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
telephone: (210)-999-7484


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux