tar with gz
Here is another one that has me stumped.
I have several files that end in .gz i have tried tar -xcz file.gz but it just hangs there and doesn't do anything. any ideas? |
gunzip file
if they're just gzipped. Try 'file file' if that doesn't work, to see what it really is. Oh, and it'd be 'tar xzf' to extract a tar.gz. |
try
Code:
tar -zxvf filename |
Tried several different ways and got this.
[root@ANAKIN DOTDgz]# tar -zxvf sasp.d.gz tar: This does not look like a tar archive tar: Skipping to next header tar: Error exit delayed from previous errors same with tar -xzf sasp.d.gz I placed the files (over 350) on this drive in windows. Does that make a difference? when I mount the drive in windows, I can use Winzip and it works just fine. But I have to do it one file at a time. Lot of work! If I can do it in Linux, I would assume that I could do it using a wildcard. tar -zxvf *.gz or something like that. |
If sasp.d.gz is the actual file name it is probably not a tar file
Try gunzip <filename> of gzip -d <filename> |
As I said before (apparently not clearly enough):
Code:
~ |
thanks
I thought it was part of tar for gzip not a separate program. Everything is working just fine. |
All times are GMT -5. The time now is 06:57 PM. |