The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
extract last modified time of file in form of YYYYMMDD itsme_maverick Shell Programming and Scripting 3 05-28-2008 01:01 PM
uncompressing file karthikosu AIX 3 06-28-2006 11:01 AM
uncompressing a .gz file sveera SUN Solaris 2 06-02-2005 09:32 AM
extract a sub directory form a tar file Optimus_P UNIX for Advanced & Expert Users 2 01-28-2004 01:23 PM
Uncompressing a Linux file on HP-UX jyotipg High Level Programming 2 10-09-2001 02:26 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-10-2007
balireddy_77 balireddy_77 is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 31
Thumbs down extract one file form .tar.gz without uncompressing .tar.gz file

hi all,

kindly help me how to extract one file form .tar.gz without uncompressing .tar.gz file.


thanks in advance
bali
  #2 (permalink)  
Old 07-10-2007
aigles's Avatar
aigles aigles is offline Forum Advisor  
Registered User
  
 

Join Date: Apr 2004
Location: Bordeaux, France
Posts: 1,433

Code:
zcat file.tar.gz | tar xvf - file_to_extract

Jean-Pierre.
  #3 (permalink)  
Old 07-10-2007
bigearsbilly bigearsbilly is offline
Registered User
  
 

Join Date: Feb 2006
Location: Southern England
Posts: 104
does zcat work on .gz files?
if not:


Code:
gunzip -c tar.gz | tar xvf -    blah/blah/ile_you_want

Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:59 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0