Extract file from tar home/
geleem at bellsouth.net
Tue Jun 8 23:56:04 UTC 2010
Suvayu Ali wrote:
> 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
> $ 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.
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.
'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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 545 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100608/0238e93a/attachment.bin
More information about the users