RE: RMAN delete obsolete

From: Juan Miranda <jcmiranda_at_oesia.com>
Date: Tue, 19 Jan 2010 09:39:18 +0100
Message-ID: <6E9C22F5EA0B49C0816165E837DF26F0_at_portj>


You have the "forfiles" command in Win Server

Delete all *.TMP files in the system root (like C:\WINDOWS) that are older than 9 days:

forfiles /p "%SYSTEMROOT%" /m *.TMP /c "cmd /c if _at_isdir==FALSE echo del _at_file & sleep 8 & del @file" /d -9  

-----Mensaje original-----

De: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] En nombre de Matthew Zito
Enviado el: lunes, 18 de enero de 2010 20:56 Para: gabriel.aragon_at_ge.com; oracle-l_at_freelists.org Asunto: RE: RMAN delete obsolete

Also, I'm a big fan of cygwin, for giving me my old fun UNIX utilities on windows.

However, this is really pretty useless for the OP, since he said "no third party utilities"

Matt

-----Original Message-----

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Aragon, Gabriel (GE, Corporate, consultant)
Sent: Monday, January 18, 2010 2:50 PM
To: oracle-l_at_freelists.org
Subject: RE: RMAN delete obsolete

Wow, long time no working with robocopy, anyway I think Roger cant use it as per his comments.

Roger, you can create a small VBS code for this, not an expert, did it some time ago, a simple google search will give you answer..

http://www.google.com.mx/search?hl=es&q=vbs+%2Bdelete+files+older+than&m eta=

--

http://www.freelists.org/webpage/oracle-l

--

http://www.freelists.org/webpage/oracle-l Received on Tue Jan 19 2010 - 02:39:18 CST

Original text of this message