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 problem

RE: Unix problem

From: Malkuns, Skip <SMALKUNS_at_SYSTEMS.TEXTRON.com>
Date: Thu, 28 Dec 2000 10:04:26 -0500
Message-Id: <10724.125389@fatcity.com>


Remove the space after the = sign

        SCRPTDIR="/db/abc/xyz"

	instead of
	SCRPTDIR= "/db/abc/xyz"



> -----Original Message-----
> From: William Rogge [SMTP:William_Rogge_at_voltek.com]
> Sent: Thursday, December 28, 2000 9:15 AM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Unix problem
>
> First, the syntax of the find command is the same as we run.
>
> My concern is with the SCRPTDIR designation. You might want to remove the
>
> quote characters. To check if you need to, copy the find command line.
> Insert echo " at the beginning, change "abc_*.tsd" to be 'abc_*.tsd' then
>
> add a " at the end. Run the script and see what UNIX is actually trying
> to
> execute.
>
> In all of my scripts, I leave the echo command in so I can track what is
> being processed or having problems.
>
> -----Original Message-----
> From: Dash, Saroj (CAP,CEF) [SMTP:Saroj.Dash_at_gecapital.com]
> Sent: Thursday, December 28, 2000 3:40 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Unix problem
>
> Hello Dbas,
>
> Regarding unix I want to delete two days old files from a directory.
> I am writing this scripts but it won`t working .Please tell me where is
> the
> problem.
>
> I am adding this script please rectify it if any error.
>
> SCRPTDIR= "/db/abc/xyz"
> find ${SCRPTDIR}/log -name "abc_*.tsd" -ctime +2 -exec rm -f {} \;
>
> Regards,
> Saroj.
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Dash, Saroj (CAP,CEF)
> INET: Saroj.Dash_at_gecapital.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: William Rogge
> INET: William_Rogge_at_voltek.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
Received on Thu Dec 28 2000 - 09:04:26 CST

Original text of this message

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