RE: RMAN delete obsolete
Date: Mon, 18 Jan 2010 14:49:48 -0500
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..
[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.
del . /Q ==> /Q quite mode. do not ask for confirmation to delete files.
Roger Xu wrote:
> Does anyone know how to delete files older than 14 days in DOS
> without installing any other 3rd party utility? Thanks.