It's fairly common for users to take a compressed file containing a tar archive and mistakenly add a ".tar" extension, instead of uncompressing to remove the ".Z" and turn back into a tar file.
Run "file tar.Z.tar" and see if it doesn't report that it's compressed data, not a tar archive. If so, rename it to something ending in ".Z", like "mv tar.Z.tar mytar.Z". The rename is necessary because uncompress expects to see that trailing "Z" and will add it if it's not there. I chose "mytar" over "tar" because I don't like having data files with command names. Now you can do "uncompress mytar.Z", which will yield a file named "mytar", which you can then try to untar.
I say "try" because the renaming mistake may be the most recent mistake, but isn't necessarily the only one.
Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.