RE: RMAN delete obsolete

  • From: Juan Miranda <jcmiranda@xxxxxxxxx>
  • To: <mzito@xxxxxxxxxxx>, <gabriel.aragon@xxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 19 Jan 2010 09:39:18 +0100

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 @isdir==FALSE echo del
@file & sleep 8 & del @file" /d -9

 

-----Mensaje original-----
De: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] En
nombre de Matthew Zito
Enviado el: lunes, 18 de enero de 2010 20:56
Para: gabriel.aragon@xxxxxx; oracle-l@xxxxxxxxxxxxx
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@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Aragon, Gabriel (GE,
Corporate, consultant)
Sent: Monday, January 18, 2010 2:50 PM
To: oracle-l@xxxxxxxxxxxxx
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=



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


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


Other related posts: