The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to find a file whick is consuming larger disk space in file system lokeshpashine UNIX for Dummies Questions & Answers 6 04-04-2009 02:52 AM
Reading a file and writing the file name to a param file. thebeginer UNIX for Advanced & Expert Users 1 10-05-2007 04:38 PM
Extracting data from text file based on configuration set in config file suparnbector Shell Programming and Scripting 3 08-10-2007 02:25 AM
Post Shell programming: Question about source a file and read data from the file ccwq Shell Programming and Scripting 3 08-04-2007 10:28 PM
Reading file names from a file and executing the relative file from shell script anushilrai Shell Programming and Scripting 4 03-10-2006 04:25 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-21-2008
Registered User
 

Join Date: Oct 2008
Posts: 3
file.tgz.1of2 & file.tgz.2of2

Hi all,

Need help. Anybody seen this kind of file before?
file.tgz.1of2
file.tgz.2of2

how to extract this tgz file? Any help?
Tq
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-21-2008
radoulov's Avatar
addict
 

Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 2,453
Try:

Code:
cat file.tgz.1of2 file.tgz.2of2 > all.tgz && tar xfz all.tgz
If your tar does not support -z use two separate commands.
Reply With Quote
  #3 (permalink)  
Old 10-21-2008
Tytalus's Avatar
Tytalus Tytalus is offline Forum Advisor  
Registered User
 

Join Date: Jun 2003
Location: Scotland
Posts: 317
looks like tarred gzipped files.

Code:
 gunzip -c <tgz_file> | tar -xvf
should suffice...

or just gunzip them, then check contents with tar -tf...
Reply With Quote
  #4 (permalink)  
Old 10-21-2008
Registered User
 

Join Date: Oct 2008
Posts: 3
Hi Rudoulov,

Thanks for the quick reply... but I got this error
-bash: -xfz: command not found
Any help? Thanks again
Reply With Quote
  #5 (permalink)  
Old 10-21-2008
radoulov's Avatar
addict
 

Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 2,453
Hm, try:

1.

Code:
cat file.tgz.1of2 file.tgz.2of2 > all.tgz
2.

Code:
gzip -dc all.tgz|tar -xvf
I suppose the archive was split ...
Did you try the commands Tytalus posted?
Reply With Quote
  #6 (permalink)  
Old 10-21-2008
Registered User
 

Join Date: Oct 2008
Posts: 3
Thanks radoulov & Tytalus.... u all are great...
Thanks again
Reply With Quote
Google The UNIX and Linux Forums
Reply

Bookmarks

Tags
None

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 06:45 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66