#!/bin/bash
#@loyu
#pdt
find /home/oracle/RAC-backup/weekly_full/ -mtime +20 | xargs rm -rf
find /home/oracle/RAC-backup/recovery/ -mtime +15 | xargs rm -rf
find /home/oracle/RAC-backup/controlfile/ -mtime +15 | xargs rm -rf
find /home/oracle/RAC-backup/archivelog/ -mtime +15 | xargs rm -rf
#
#pre-pdt
find /home/oracle/pre-oracle/save/ -mtime +15 | xargs rm -rf
时间: 2024-10-13 22:22:21