Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> can imp read UNIX stdin??

can imp read UNIX stdin??

From: Kevin Brand <kevin.brandx_at_tel.gte.com>
Date: Thu, 29 Jul 1999 12:06:06 -0500
Message-ID: <7nq1p9$o3v$1@news.gte.com>


Anybody know how to make imp read its standard in for the exp file??

This makes exp write to stdout:
exp ... file=stdout 2>exp.stderr |gzip >mydump.gz

Something like this, however, does not work:

gzip -d <mydump.gz | imp ... file=stdin

other combinations also do not work:

    gzip -d <mydump.gz | imp ... #no file parm     gzip -d <mydump.gz | imp ... parfile=par.par # where parfile has file=stdin

I know that I can create a FIFO and slam the output of gzip to it, but it would be nice to do it without named pipes.

-Kevin
--

remove the x for an email reply Received on Thu Jul 29 1999 - 12:06:06 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US