[Veritas-bu] Script Impaired
2004-03-20 04:58:19
Hello Mike
You could do
#!/bin/ksh
if [ $5 -eq 0 ]; then
rm /oracle/sapdev_dev/*
fi
Remember that on UNIX you don't use the bat extension
Regards
Michael
On Fri, 19 Mar 2004 15:32:04 -0800, Mike Day wrote
> I need to write a simple bpend_notify.bat script but I'm script impaired
(joke, but true!). All I need to do is delete a folder full of Oracle dumps
when a backup is finished. What am I doing wrong here?
>
> if "%5%" == "0" del r:\oracle\sapdev_dev
>
> Also can anyone direct me to a web site that has some good AIX scripts I
can use? The one above is for a Windows client of course.
>
> Thanks,
> Hates Programming Mike
>
>
--
Cybercity Webhosting (http://www.cybercity.dk)
|
|
|