Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Uncompress Using a Pipe 1

Status
Not open for further replies.

ScottAB

IS-IT--Management
Mar 5, 2002
7
US
I received an Oracle export today that was suffixed with a .Z. No problem; it's compressed using the compress command. However, when I go to uncompress it, I receive an error saying "corrupt input", and the process fails. I called the person I received the export from and he indicated that the file was compressed using a "pipe". He went on to explain that all I needed to do was to:

Create a pipe;
uncompress filename pipename &;
import pipename

Sounded simple enough; however, I can't get it to work. My contact is now gone for the day. Can anyone elaborate on this a little more?
 
hi,

you have to create a file which is a pipe file to do
this use the mkfio command

i.e. mkfifo tempfile

when you do an ls -l of tempfile it will have a p at the front of indocating a pipe then use this pipe file to uncompress i.e.

uncompress filename.Z > tempfile & ( in background)

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top