RE: archive log deletion

RE: archive log deletion

 

  

the line

find /oracle/archives/<..ORACLE_SID..> -name *.arc -mtime +20
-exec rm {} \;

will find in the directory "/oracle/archives/<..ORACLE_SID..>" all
archives (the files *.arc)
that have not been modified in 20 days (i.e. are older than) and deletes
them

Hans

-----Original Message-----
From: Sood Ankit (GE Consumer Finance consultant)
[mailto:oracledba-ezmlmshield-x20638066.[Email address protected]
Sent: donderdag 2 maart 2006 10:40
To: LazyDBA Discussion
Subject: archive log deletion



Hi all ,
If any one is having script for archive log deletion on unix please
share with me.




> Regards,
> Ankit Sood
GE Consumer Finance Co.
Japan.
> Phone: +81-42-330-8734
> Mobile No:+81-9098429482
Email:ankit.[Email address protected]



--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html
-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------


Oracle LazyDBA home page