[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Can you untar selectively?
- From: mark mark mielke cc
- To: stefaan <stefaan webarama com au>
- Cc: fedora-list redhat com
- Subject: Re: Can you untar selectively?
- Date: Wed, 15 Jun 2005 02:43:29 -0400
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
Also useful might be the listing of the file names in a tar file:
tar -tf blah.tar
cpio can do it, but I'm not sure that it does a better job.
Cheers,
mark
--
mark mielke cc / markm ncf ca / markm nortel com __________________________
. . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder
|\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ |
| | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada
One ring to rule them all, one ring to find them, one ring to bring them all
and in the darkness bind them...
http://mark.mielke.cc/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]