Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Delete archived redo logs
Hi,
In the NT Resource kit there is a utility called FORFILES.
I have also seen free versions on some web sites.
C:\>forfiles /?
Batch processing of files in a directory or tree.
emmanubo_at_microsoft.com
FORFILES [-pPath] [-mSearch Mask] [-ccommand] [-dDDMMYY] [-s] [-?]
-pPath Path where to start searching -mSearch Mask Search files according to <Search Mask> -cCommand Command to execute on each file(s) -dDDMMYY Select file with date>=DDMMYY -v Verbose mode -s Recurse into sub-directories -? Display this usage screen
The following variables can be used in Command : @FILE, @PATH, @RELPATH
Default : <Directory : .> <Search Mask : *.*> <Command : "CMD /C Echo
@FILE">
Example : FORFILES -pc:\ -s -m*.BAT -c"CMD /C Echo @FILE is a batch file"
HTH
-
Chris J. Guidry P.Eng.
ATCO Electric, Metering Services
Phone: (780) 420-4142
Fax: (780) 420-3854
Email: chris.guidry_at_atcoelectric.com
> -----Original Message-----
> From: Helmut Daiminger [SMTP:hdaiminger_at_vivonet.com]
> Sent: Monday, October 16, 2000 5:26 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Delete archived redo logs
>
> Hi!
>
> Is there a possibility in NT/2000 to delete all archived redo logs that
> are
> older than 4 days. Does the DOS del command provide an option for that?
> Something like
>
> del \...\*.arc days=4
>
> This is 8.1.6 on Win2k.
>
> Thanks,
> Helmut
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Helmut Daiminger
> INET: hdaiminger_at_vivonet.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
Received on Tue Oct 17 2000 - 11:00:27 CDT