Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: can imp read UNIX stdin??
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
![]() |
![]() |