I highly recommend writing a small RMAN script for this. Something like this should work:
run {
allocate channel "dsk1" device type disk;
allocate channel "dsk2" device type disk;
crosscheck backup;
crosscheck archivelog all;
delete noprompt expired backup;
delete noprompt expired archivelog all;
report obsolete recovery window of 7 days;
delete noprompt obsolete recovery window of 7 days;
backup as compressed backupset archivelog all;
delete noprompt archivelog until time 'sysdate-1' backed up 1 times to device type disk;
}
Explanation:
allocate channel <TAG> device type disk;
These lines are optional, but allows you to allocate several channels if you're connecting to storage through more than one physical channel
crosscheck backup;
crosscheck archivelog all;
These crosscheck lines will review the actual RMAN inventory (in the control file) against the contents on the storage. Those backups and/or archive logs that are no longer in storage will be marked as 'EXPIRED'
delete noprompt expired backup;
delete noprompt expired archivelog all;
These delete all inventory entries that have no match in the storage.
report obsolete recovery window of 7 days;
This line will mark any backup file that is no longer needed to restore the database to a consistent estate up to 7 days ago as 'OBSOLETE'
delete noprompt obsolete recovery window of 7 days;
This command delete all files marked as 'OBSOLETE'
backup as compressed backupset archivelog all;
This command backs up all current archives as a compressed backupset.
delete noprompt archivelog until time 'sysdate-1' backed up 1 times to device type disk;
This command deletes all archives older than 1 day that were backed up already.
Hope this helps you!