Oracle Solaris File Systems and Disk Management (MOSC)

MOSC Banner

How to delete these flooded files?

edited Mar 17, 2013 2:38AM in Oracle Solaris File Systems and Disk Management (MOSC) 1 commentAnswered
we have ORACLE database 11.1, Solaris 10.10, database audit is turned on, there are flooded amount of *.aud files under adump directory, we need keep them for 30 days, then delete them.

but the problem is use this command "find .  -name "*.aud" -mtime 30  -print -exec rm -f {} \; "      does not work, because too many files

adump> ls -l |wc -l
2877939

rm *.aud
-bash: /usr/bin/rm: Arg list too long

any idea ?

Thanks,

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center