HOW DO I UNCOMPRESS A UNIX FILE ONTO THE RS/6000?

ITEM: RTA000029982



                                                                                
                                                                                
                                                                                
QUESTION:                                                                       
I am having problems trying to uncompress a file.                               
What is the right syntax?  I have a file called                                 
bench2.tar.z that I need to restore to the RS/6000.                             
                                                                                
How must this be done?                                                          
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
      Here are several example regarding how to uncompress and untar the        
      file.                                                                     
                                                                               
1.  If you used:      uncompress bench2.tar.Z                                   
    To untar use:     tar -xvf bench2.tar                                       
                                                                                
NOTE:   The uncompress command removes bench2.tar.Z and replaces                
        it with the expanded copy.  The expanded file has the same              
        name as the compressed version, but without the .Z                      
        extension.                                                              
                                                                                
2.  If you used:     zcat bench2.tar.Z > new_file_name                          
    To untar use:    tar -xvf new_file_name                                     
                                                                                
3.  If you used:     zcat bench2.tar.Z                                          
    To untar use:    zczt bench2.tar.Z | tar -xvf -                             
                                                                               
NOTE:  The zczt command always writes the expanded output to standard           
       output, that is why you need to either pipe it to tar or                 
       redirect the output to another file and then tar that file.              
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
                                                                                
                                                                                
This item was created from library item Q622919      CCKDH                      
                                                                                
S e a r c h - k e y w o r d s:                                                  
AIXPS2 AIXPS2OS CCKDH FILE FILES IX MAR93 ONTO OP RISCSYSTEM                    
SOFTWARE SYS UNCOMPRESS UNIX                                                    
                                                                                
                                                                               


WWQA: ITEM: RTA000029982 ITEM: RTA000029982
Dated: 08/1998 Category: RISCOCMD
This HTML file was generated 99/06/24~12:43:11
Comments or suggestions? Contact us