Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: OT moment of doubt
Carel-Jan Engel wrote:
>Jareds method is what I use most of the times.
>When I'm really unsure, I run a small loop like (Apologies Jared, this
>still isn't perl):
>for file in *.dbf
>do
> echo mv ${file} ${file}.GONE
>done
>
>
>
May I suggest a little change of the script:
foreach $file (glob('*.dbf')) {
unlink($file);
print "File $file is gone with the wind. Tomorrow is another day.
Update your resume.\n";
}
-- Mladen Gogala Oracle DBA Ext. 121 -- http://www.freelists.org/webpage/oracle-lReceived on Wed Jun 15 2005 - 17:21:35 CDT
![]() |
![]() |