On 7/17/07,
GovindanK <
gkatteri@gmail.com> wrote:
I have seen this type of problem with unix. You will observe that
running find $DMPDIR -name "*" -mtime 0 -exec rm {} \; (without the +)
will give different results and is what you actually want ; In my env,
i have put both;
I haven't got to say this lately, so here goes:
Don't used -exec, use instead xargs
eg. find . -name "*.log" -mtime -30 | xargs rm
Several orders of magnitude faster than -exec.
-exec forks a shell for every line output from find.
--
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist