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: Unixscript

Re: Unixscript

From: Gene Sais <Gsais_at_co.palm-beach.fl.us>
Date: Fri, 15 Feb 2002 05:08:34 -0800
Message-ID: <F001.00410CE3.20020215050826@fatcity.com>

Unix to pc, best to use ftp. I always run from pc, i.e. no need to run ftp server on pc. You could always run samba on your unix server. If its only a few dirs I use the following 2 files. Run the ftpbackup.bat file.

  1. ftpbackup.bat &mdash;-------------------- cut here &mdash;---------------------------------- c: cd \gene\oracle\home ftp -i -n -s:ftpbackup.txt somehostname &mdash;-------------------- cut here &mdash;----------------------------------
  2. ftpbackup.txt &mdash;-------------------- cut here &mdash;---------------------------------- user oracle oraclepasswd ascii lcd \gene\oracle\home\local cd /oracle/home/local get .forward get .profile get .rhosts lcd \gene\oracle\home\local\bin cd /oracle/home/local/bin mget *.ksh mget *.sql lcd \gene\oracle\home\local\cfg cd /oracle/home/local/cfg mget *.dat mget *.dis mget *.sql mget *.ora lcd \gene\oracle\home\local\sql cd /oracle/home/local/sql mget *.sql lcd \gene\oracle\home\local\utl cd /oracle/home/local/utl mget *.ksh &mdash;-------------------- cut here &mdash;----------------------------------

hth,
Gene

>>> Roland.Skoldblom_at_ica.se 02/15/02 06:53AM >>>
Hallo,

Anyone who has a good example on a unix script, which does the following:

Copies files from a unix directory. to the hard drive, for instance from the directory /konto/test
to the hard drive C:\temp

Would appreciate this if you could help me with this.

Thanks in advance

Roland

-- 
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: Gene Sais
  INET: Gsais_at_co.palm-beach.fl.us

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 Feb 15 2002 - 07:08:34 CST

Original text of this message

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