Click to See Complete Forum and Search --> : tar problems


Danger Fan
12-13-2000, 06:07 PM
i have certain tar files that when i try to unzip, i have a problem:

tar -zxvf (filename).tar.gz

Bash: not in gzip format

some files work, others don't. i don't get it? http://www.linuxnewbie.org/ubb/confused.gif

posterboy
12-13-2000, 06:15 PM
You've already considered the possibility that they may somehow have become corrupted, I'm sure. Try doing this: file myfile.gz
Often this will reveal that the file is NOT a tar gzip, but something else, like just a gzip. If it IS a tar gzip, try just listing it's contents, with, say tar -tvf tarfile if you can get it unzipped first, with gunzip.
HTH, Ray


------------------
ray@raymondjones.net
HTTP://www.raymondjones.net

Danger Fan
12-13-2000, 06:20 PM
Originally posted by posterboy:
You've already considered the possibility that they may somehow have become corrupted, I'm sure. Try doing this: file myfile.gz
Often this will reveal that the file is NOT a tar gzip, but something else, like just a gzip. If it IS a tar gzip, try just listing it's contents, with, say tar -tvf tarfile if you can get it unzipped first, with gunzip.
HTH, Ray




your right, it's not corrupted. i know that for sure. i already tried the gunzip. that didn't work either. don't know, maybe i'll just forget about that program.

thanks for the help though

danger