Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Archive Logs Growing to Fast
Hi All,
I need a script that will delete (rm) a file(s) if the file(s) is 3 days
old.
My archive logs are filling up my disk at a rapid pace.
Does anyone have any suggestions?
This is what the files look like:
-rw-r----- 1 oracle dba 209715712 Nov 19 19:27 0000097621.arc
-rw-r----- 1 oracle dba 209715712 Nov 19 19:38 0000097622.arc
-rw-r----- 1 oracle dba 209715712 Nov 19 19:48 0000097623.arc
-rw-r----- 1 oracle dba 209715712 Nov 19 19:59 0000097624.arc
-rw-r----- 1 oracle dba 209715712 Nov 19 20:10 0000097625.arc
-rw-r----- 1 oracle dba 209715712 Nov 19 20:20 0000097626.arc
-rw-r----- 1 oracle dba 209715712 Nov 19 20:31 0000097627.arc
-rw-r----- 1 oracle dba 209715712 Nov 19 20:42 0000097628.arc
-rw-r----- 1 oracle dba 209715712 Nov 19 20:53 0000097629.arc
-rw-r----- 1 oracle dba 209715712 Nov 19 21:04 0000097630.arc
-rw-r----- 1 oracle dba 209715712 Nov 19 21:15 0000097631.arc
-rw-r----- 1 oracle dba 209715712 Nov 19 21:26 0000097632.arc
-rw-r----- 1 oracle dba 209715712 Nov 19 21:38 0000097633.arc
Thanks in advance Received on Tue Nov 21 2000 - 19:16:13 CST