Re: UNIX question
- From: Jared Still <jkstill@xxxxxxxxx>
- To: sjaffarhussain@xxxxxxxxx
- Date: Wed, 6 Apr 2005 07:03:29 -0700
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."
> --
> http://www.freelists.org/webpage/oracle-l
>
--
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
--
http://www.freelists.org/webpage/oracle-l
- References:
- UNIX question
- From: The Human Fly
Other related posts:
- » UNIX question
- » Re: UNIX question
- » RE: UNIX question
- » Re: UNIX question
- » Re: UNIX question
- » Re: UNIX question
- » Re: UNIX question
- » UNIX question
- » Re: UNIX question
- » RE: UNIX question
- » RE: UNIX question
- UNIX question
- From: The Human Fly