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