Re: RMAN delete obsolete

From: Roger Xu <wellmetus_at_gmail.com>
Date: Wed, 20 Jan 2010 12:52:50 -0600
Message-ID: <eb64345d1001201052w88717d1mf844d3ef8cdeb5e3_at_mail.gmail.com>



Once again thanks for every reply. Lu Jiang emailed me a VBS script. Thanks!

On Mon, Jan 18, 2010 at 1:49 PM, Aragon, Gabriel (GE, Corporate, consultant) <gabriel.aragon_at_ge.com> wrote:

> 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=
>
>
>
> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org
> [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Yechiel Adar
> Sent: Domingo, 17 de Enero de 2010 12:50 a.m.
> Cc: oracle-l_at_freelists.org
> Subject: Re: RMAN delete obsolete
>
> There is a utility called robocopy.
> open a new directory and do:
>
> robocopy *.arc temp_dir\ /MOV /MINAGE:15 ==> MOV tell it to move file
>
> and MINAGE tell it to move files older then 15 days.
> cd temp_dir
> del . /Q ==> /Q quite mode. do not ask for confirmation to delete
> files.
>
> Adar Yechiel
> Rechovot, Israel
>
>
>
> Roger Xu wrote:
> > Does anyone know how to delete files older than 14 days in DOS
> > without installing any other 3rd party utility? Thanks.
> >
> --
> http://www.freelists.org/webpage/oracle-l
>
>
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jan 20 2010 - 12:52:50 CST

Original text of this message