Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Deleting arch files

675190Oct 1 2009 — edited Oct 1 2009
Hi,

Daily we have Full backup and Hot backup running from scripts - crontab.

and right now our arch file is too many, can we delete arch file (/arch/arch1 and /arch/arch2) which are older than 30 days?

in /arch/arch1/ actually is only file older than 30 days, but /arch/arch2/ has a lot of them.

We are planning to delete them using crontab and command:

find /arch/arch1/ -mtime +30 | xargs rm -rf;

find /arch/arch2/ -mtime +30 | xargs rm -rf;

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2009
Added on Oct 1 2009
4 comments
676 views