I have been trying to open a large compressed file on linux and getting this error. 1)First I gunzipped the file gunzip georegion_v2.v6.int.tr.gz and this file got created -> georegion_v2.v6.int.tr
2)Now I want to open this file and perform operations on it, but I ma getting following error.
tar -zxvf xyz.int.tr tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors
Can you please tell me what is needed here ? Thanks
You can use tar to both gunzip and untar it at the same time like this:
If that still doesn't work then this is not a tar.gz file or it is corrupted. The tr.gz extension is a bit unusual. It is usually tar.gz.
Your problem was that your were passing the z flag after you gunzip the file. So it looks for a gzipped tar file but is finding an ordinary tar file instead.