Rman has a command "noprompt" that can be added a command to prevent it from confirming as in "delete noprompt obsolete;" Ken _____ From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Dba DBA Sent: Tuesday, July 29, 2008 9:10 AM To: oracle-l@xxxxxxxxxxxxx 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 ?