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: OT moment of doubt

Re: OT moment of doubt

From: Mladen Gogala <mgogala_at_allegientsystems.com>
Date: Wed, 15 Jun 2005 17:18:34 -0400
Message-ID: <42B09B2A.7040908@allegientsystems.com>


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-l
Received on Wed Jun 15 2005 - 17:21:35 CDT

Original text of this message

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