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

RE: Get a single file from a tar archive?



Rob,

Try zcat archieve_set file_name, to look at things.

Then;

tar xzvf archieve_set file_name

John



-----Original Message-----
From: Rich Puhek [mailto:rpuhek@etnsystems.com]
Sent: Tuesday, January 23, 2001 2:26 PM
To: Rob Hudson
Cc: Debian
Subject: Re: Get a single file from a tar archive?


Rob:

Try "tar --extract --file=<archive> <myfile>"

where <archive> is the name of your tar file, and <myfile> is the name of
your
desired file.

See "info tar" for more details.

--Rich



Rob Hudson wrote:

> Anyone know of a way to do this?
>
> I need a single file out of a 1.6GB tar archive.  It takes a _long_
> time to untar|ungzip the archive.  Is there a way to get that one file
> out if I know the exact name of it?
>
> Thanks,
> Rob

--

_________________________________________________________

Rich Puhek
ETN Systems Inc.
_________________________________________________________



-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: