Untaring *.tar.tar files | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Untaring *.tar.tar files

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-03-2006
bubeshj bubeshj is offline
Registered User
 
Join Date: Jun 2006
Last Activity: 19 September 2008, 8:51 AM EDT
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
MySQL Untaring *.tar.tar files

Hi all,
How to untar a file with .tar.tar extension. A utility that i downloaded from net had this extension.

Thanks in advance,
bubeshj.
Sponsored Links
    #2  
Old 08-03-2006
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
AFK
 
Join Date: Dec 2004
Last Activity: 10 October 2013, 8:46 AM EDT
Location: UK
Posts: 2,351
Thanks: 0
Thanked 6 Times in 6 Posts
Run tar on the file once. If the file that gets extracted still has the .tar extension, run tar again.
Sponsored Links
    #3  
Old 08-03-2006
bubeshj bubeshj is offline
Registered User
 
Join Date: Jun 2006
Last Activity: 19 September 2008, 8:51 AM EDT
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
When i run tar once i get the following message.
Tar: tape blocksize error

Thanks in advance,
bubeshj
    #4  
Old 08-03-2006
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
AFK
 
Join Date: Dec 2004
Last Activity: 10 October 2013, 8:46 AM EDT
Location: UK
Posts: 2,351
Thanks: 0
Thanked 6 Times in 6 Posts
Make sure that the file you have is really a tar archive. Check this by using the command 'file <filename>'. This will tell you what type of file it is, so that you can take the necessary action.
Sponsored Links
    #5  
Old 08-04-2006
bubeshj bubeshj is offline
Registered User
 
Join Date: Jun 2006
Last Activity: 19 September 2008, 8:51 AM EDT
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
its a gzip compressedd file.Any suggestions on how to untar it.
Thanks,
Bubeshj
Sponsored Links
    #6  
Old 08-04-2006
tmarikle tmarikle is offline Forum Advisor  
Registered User
 
Join Date: Jan 2005
Last Activity: 27 September 2011, 12:36 PM EDT
Posts: 683
Thanks: 0
Thanked 4 Times in 4 Posts
use gunzip
Sponsored Links
    #7  
Old 08-18-2006
gkrishnag gkrishnag is offline
Registered User
 
Join Date: Jul 2006
Last Activity: 25 June 2010, 12:29 AM EDT
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
use the following command

gunzip -c <archive> | tar tvf -
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
need a shell script to extract the files from source file and check whether those files existonserve muraliinfy04 Shell Programming and Scripting 13 02-22-2012 07:14 AM
Recursively UNTARing and then TARing back exchequer598 Shell Programming and Scripting 6 12-02-2010 12:26 AM
How to retrieve all the linked script files/ctl files/sql files? franksubramania Shell Programming and Scripting 1 05-04-2009 01:47 PM
untaring multiple files rinceboy Shell Programming and Scripting 3 01-10-2007 08:43 AM
text files, ASCII files, binary files and ftp transfers Perderabo Answers to Frequently Asked Questions 0 04-08-2004 04:25 PM



All times are GMT -4. The time now is 12:28 PM.