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 -> Re: can imp read UNIX stdin??

Re: can imp read UNIX stdin??

From: Ron Reidy <rereidy_at_uswest.net>
Date: Sun, 01 Aug 1999 23:32:07 -0600
Message-ID: <37A52D57.DB74E08E@uswest.net>


Kevin Brand wrote:

> 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

Use a named pipe.

--
Ron Reidy
Oracle DBA
Reidy Consulting, L.L.C. Received on Mon Aug 02 1999 - 00:32:07 CDT

Original text of this message

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