Re: Extract file from tar home/

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

 



it only makes sense, zip deflated the individual files and tar is 
ignorance of that requirement.
hence the untar, then unzip.

you might consider

$tar czvf /tmp/bob.tar.gz  /home/bobg/

then each file is compressed by tar on the way to the tarball.
i think then you can do a

$tar xzvf /tmp/bob.tar.gx /home/bobg/somefile

and i think that might do what you want.

but test first! :)


On 06/07/2010 02:58 PM, Bob Goodwin wrote:
> On 07/06/10 17:52, Luc MAIGNAN wrote:
>    
>> tar -xzvf bobg.tar.gz file_to_extract
>>
>> "man tar" is your friend...
>>
>> Le 07/06/10 23:48, Bob Goodwin a écrit :
>>
>>      
>>>        I have /home/bobg/ tar'd to "bobg.tar.gz." Can I extract individual
>>>        files or directories without unzipping the entire 17 gigs?
>>>
>>>        Bob
>>>
>>>        --
>>>
>>>        
>      Yes I've been working with "man tar" and Google so thought I would
>      come to the place of last resort.
>
>      AS I suspected it probably has to be unzipped first but that's ok,
>      just a thought.
>
>      Thanks.
>
>      Bob
>
>
>    

-- 
Jack Craig
Software Engineer
831.461.7100 x120
www.extraview.com

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



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

  Powered by Linux