Computing.Net > Forums > Solaris > uncompressing files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

uncompressing files

Reply to Message Icon

Name: joe
Date: June 13, 2002 at 09:18:39 Pacific
Comment:

I need to uncompress a file with a .Z ending. When in the terminal window, and with the correct path to the file, I type uncompress then the filename and I get an error that sais: uncompress: corrupt input.
What do I do?



Sponsored Link
Ads by Google

Response Number 1
Name: roopa
Date: June 14, 2002 at 12:06:10 Pacific
Reply:

hello
do the following let me know if this works:

Tar and uncompress are part of most versions of UNIX.
Unwrapping a .Z file in UNIX
Ensure that the file to be uncompressed has a .Z extension.
Type:
uncompress filename
where filename is the name of the file to be uncompressed (e.g. uncompress xxxx001.e00.Z).
in case you have a tar file with .Z then do the following
Unwrapping a .tar.Z file in UNIX
Ensure that the file has a .tar.Z extension.
Type:
uncompress filename
where filename is the name of the file to be uncompressed (e.g. uncompress xxxx001.tar.Z).
Type:
tar -xvf filename
where filename is the name of the tar archived (e.g. tar -xvf xxxx001.tar).

following
Unwrapping a .tar.Z file in UNIX
Ensure that the file has a .tar.Z extension.
Type:
uncompress filename
where filename is the name of the file to be uncompressed (e.g. uncompress xxxx001.tar.Z).
Type:
tar -xvf filename
where filename is the name of the tar archived (e.g. tar -xvf xxxx001.tar).


0

Response Number 2
Name: labtech
Date: June 17, 2002 at 10:36:17 Pacific
Reply:

this may or may not be relevant.
I often find that if you download a file in windoze then it appends its own ending onto the file and then hides it from the user. If you ftp it to a unix boxen then it has the wrong extension. Try renaming your file to whatever.Z and using uncompress. This will take the file which already has compressed data and give it the right extension for uncompress to use.
good luck.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


creating slices Installing ADSL problem f...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: uncompressing files

Gunzip the oracle file www.computing.net/answers/solaris/gunzip-the-oracle-file/1218.html

extracting samba file www.computing.net/answers/solaris/extracting-samba-file/404.html

sun ultrs10 restore problem www.computing.net/answers/solaris/sun-ultrs10-restore-problem/2142.html