See the following:
 http://www.ultratech-llc.com/KB/?File=DataTime.TXT



==============================================================
 ASB - http://www.ultratech-llc.com/KB/?File=~MoreInfo.TXT
==============================================================
 "Best diet: Eat as much as you want, but don't swallow it."



>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Joan Hsieh
>Sent: Monday, January 14, 2002 3:50 PM
>To: NT 2000 Discussions
>Subject: question
>
>
>Hi all,
>
>On unix, I use the following script to change the name of alert file.
>(At end of day, append the date to the name of the file)
>How to change it in the same way on NT?
>
>for log_file in $(find $ORACLE_BASE/admin -name
>"alert_FMRPT.log" | grep
>-v alert_FMRPT_.*.log)
>do
>   newfile=$(echo $log_file | sed "s/\.log$/_$dt.log/")
>   echo "moving alert logs: $log_file $newfile"
>   mv $log_file $newfile
>


------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to