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: Unix - script

RE: Unix - script

From: Veronica Levin <vlevin_at_victoria.com.ni>
Date: Fri, 11 Jan 2002 13:12:40 -0800
Message-ID: <F001.003EE386.20020111125557@fatcity.com>

Is there any similar command in AIX?
Can't find wget.

Saludos,
Veronica Levin Enriquez
Compañía Cervecera de Nicaragua  

-----Mensaje original-----

De: Gogala, Mladen [mailto:MGogala_at_oxhp.com] Enviado el: Miércoles, 09 de Enero de 2002 09:12 a.m. Para: Multiple recipients of list ORACLE-L Asunto: RE: Unix - script

I would suggest using wget, which is built exactly for this purpose.

-----Original Message-----

Sent: Wednesday, January 09, 2002 3:20 AM To: Multiple recipients of list ORACLE-L

Roland,

Try this by setting up environment variables at the top of your script:

SERVER1= 10.10.10.10
USER1= 'xxx'
PWD1= 'xxx'
SERVER2= 10.10.10.20
USER1= 'yyy'
PWD2= 'yyyy'

Then have this:

ftp -i -n << EOF
open $SERVER1
user $USER1 $PWD1
cd scripts
get <file>
close
EOF You can then have a section like the one below if you want to copy to a different server
other than the one you are running this script from:

ftp -i -n << EOF
open $SERVER2
user $USER2 $PWD2
cd scripts
put <file>
close
EOF Both of these can be included in the one shell script.

Hope that helps.
Kev.

'In Windows no one can hear you scream'


Kevin Thomas
Technical Analyst
Deregulation Services
Calanais Ltd.
(2nd Floor East - Weirs Building)
Tel: 0141 568 2377
Fax: 0141 568 2366
http://www.calanais.com

-----Original Message-----

Sent: 09 January 2002 07:16
To: Multiple recipients of list ORACLE-L

Hallo,

I would like to have an example of a unix script, which does the following:

copy some files from directory /prod/sas/data located at "hardy".(which is a computer)
to the other database hakon. Is it possible to do this. Please help me quick.

Thanks in advance

Roland S

--

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

Author:
  INET: Roland.Skoldblom_at_ica.se

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

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

Author: Thomas, Kevin
  INET: Kevin.Thomas_at_calanais.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

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

Author: Gogala, Mladen
  INET: MGogala_at_oxhp.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

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

Author: Veronica Levin
  INET: vlevin_at_victoria.com.ni
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Jan 11 2002 - 15:12:40 CST

Original text of this message

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