Assuming your log files in /u01/oradata/orcl/archive and are named arch*.log find /u01/oradata/orcl/archive -mmin -120 -name "arch*.log" | xargs rm -f If your version of find does not support -mmin, then you can locate and compile one that does. If on linux, it already does. On Apr 6, 2005 6:57 AM, The Human Fly <sjaffarhussain@xxxxxxxxx> wrote: > Hello list, > > Can any one give me an example, how can I delete log files <2hrs to my > system time. > > -- > Best Regards, > Jaffar, OCP DBA > Banque Saudi Fransi > Saudi Arabia > ---------------------------------------------------------------------------------------- > "It is your atittude, not your aptitude that determins your altitude." > -- > //www.freelists.org/webpage/oracle-l > -- Jared Still Certifiable Oracle DBA and Part Time Perl Evangelist -- //www.freelists.org/webpage/oracle-l