Extract file from tar home/
Bob Goodwin
bobgoodwin at wildblue.net
Tue Jun 8 23:51:41 UTC 2010
On 08/06/10 19:26, Patrick O'Callaghan wrote:
> On Tue, 2010-06-08 at 18:15 -0400, Bob Goodwin wrote:
>
>> Yes, and this is essentially what I did except I tar'd the entire
>> /home/bobg/ directory into one big lump. My question was could I
>> go in and unzip individual files. It seems that can't be done easily.
>>
> You don't seem to have grokked the previous answers (mine and others)
> including the one you're replying to. What you want to do is easy and
> completely standard. The quoted answer tells you exactly how to do it.
> Once more with feeling:
>
> To extract the whole thing:
> $ tar xf bobg.tar.gz
> (or tar xvf to if you want to watch it working)
>
Yes, this works, has not been a problem.
> To extract only a specific file:
> $ tar xf bobg.tar.gz the/file/you/want
>
For whatever reason I haven't been able to make that work. I will pursue
that effort again later. I haven't been able to devote as much time to
this today as I need to.
Thank you.
Bob
> poc
>
>
--
More information about the users
mailing list