View Single Post
  #7 (permalink)  
Old 06-06-2007, 08:49 PM
mmorse mmorse is offline
Moderator
 
Posts: 6,237
Default

Quote:
Originally Posted by kirme3 View Post
When I try to untar the file I get the following:

tar: Read 9757 bytes from logger-debug.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Error exit delayed from previous errors

I hope I'm not acting like a n00b here
That's because it's gzipped (.gz) gotta love extensions...there's .gz & .tgz & tar.z ...

>tar xvzf logger-debug.tar.gz
OR
> gunzip logger-debug.tar.gz (The file becomes logger-debug.tar)
> tar xvf logger-debug.tar (It will create a directory called 'logger-debugger' and put the files stored in that archive in it.)
OR
> gunzip < file.tar.gz | tar xvf -
OR
> gtar xvzf file.tar.gz

on mac OS X, as part of the tar syntax, you can also use -z OR --gzip OR --gunzip
Mac OS X Manual Page For tar(1)

Last edited by mmorse; 06-06-2007 at 09:04 PM..
Reply With Quote