删除3天前归档日志

rman target / <<EOF
run{
crosscheck archivelog all;
delete expired archivelog all;
delete noprompt archivelog all completed before 'sysdate-3';
}