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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: &^@#%$@#%$ stinkin' oracle7 database

Re: &^@#%$@#%$ stinkin' oracle7 database

From: <Jared.Still_at_radisys.com>
Date: Wed, 12 May 2004 14:39:00 -0700
Message-ID: <OF4DE1E298.E711187A-ON88256E92.0076C0BF-88256E92.0076EE32@radisys.com>


here's the promised (rough) example script Run the import script first, as the listening side must be running prior to the sending side.

Import script



!/bin/ksh

rm /tmp/imp_pipe
mkfifo /tmp/imp_pipe

imp userid=jkstill/$(opass) file=/tmp/imp_pipe log=imp.log fromuser=jkstill touser=jkstill &

netcat -l -p 16485 > /tmp/imp_pipe


Export script



#!/bin/ksh

rm /tmp/exp_pipe

mkfifo /tmp/exp_pipe

exp userid=jkstill/$(opass) tables=jkstill.pipetest file=/tmp/exp_pipe &

cat /tmp/exp_pipe | netcat rsysdevdb 16485


Jared.Still_at_radisys.com
Sent by: oracle-l-bounce_at_freelists.org
 05/10/2004 02:37 PM
 Please respond to oracle-l  

        To:     oracle-l_at_freelists.org
        cc: 
        Subject:        Re: &^@#%$@#%$ stinkin' oracle7 database


> Can you post an example script? Netcat is so generic that it is
disgusting.
> On 05/10/2004 02:05:11 PM, Jared.Still_at_radisys.com wrote:
> > Use netcat for pipes between machines.
> --
> Mladen Gogala

I'll post one in the next day or two.

Jared



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------




----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Wed May 12 2004 - 16:36:40 CDT

Original text of this message

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