RE: scripting the deletion of archivelogs

From: Sweetser, Joe <>
Date: Tue, 29 Jul 2008 07:30:17 -0600
Message-ID: <E323160E08E560459CD05A883546C3CE0CC1D27B@Earthquake.ICAT.COM>

Look at "delete noprompt..." in the rman docs.  


[] On Behalf Of Dba DBA Sent: Tuesday, July 29, 2008 7:10 AM
Subject: scripting the deletion of archivelogs

When I delete my archive logs, it lists the ones to be deleted than wants me to confirm that I want to delete them. How would I write a shell script to log into rman and delete my archive logs to get around this prompt ?

Confidentiality Note: This message contains information that may be confidential and/or privileged. If you are not the intended recipient, you should not use, copy, disclose, distribute or take any action based on this message. If you have received this message in error, please advise the sender immediately by reply email and delete this message. Although ICAT Holdings, LLC, Underwriters at Lloyd's, Syndicate 4242, scans e-mail and attachments for viruses, it does not guarantee that either are virus-free and accepts no liability for any damage sustained as a result of viruses. Thank you.

-- Received on Tue Jul 29 2008 - 08:30:17 CDT

Original text of this message