Re: Extract file from tar home/

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

 



Suvayu Ali wrote:
<snip>

> I think the only solution in this case is to do
> 
> $ gunzip bobg.tar.gz
> 
> and keep the resulting bobg.tar file in some easy to access area. A 
> subsequent
> 
> $ tar xf bobg.tar /path/to/my/file
> 
> should be fast and easy to do.

regardless of op's desire, there is no fast way to extract a single
file from such a large file. especially if desired file is in last
portion of large file.

which is another reason to break archive in to smaller tars, zips,
or cpio's, with an indexes to them.

a script could be run to parse indexes and then do what needs to be
done to extract file from it's associated small file archive.


-- 

peace out.

tc,hago.

g
.

****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****

Attachment: signature.asc
Description: OpenPGP digital signature

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