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

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.
_________________________________________________________




Reply to: