ON CALL DBA SUPPORT

— Database blog

Archive for May, 2014

Database house keeping scripts

Posted by ssgottik on 28/05/2014

find . -name “*.trc” -mtime +0|xargs rm -f “*.trc”

find . -name “*.trm” -mtime +0|xargs rm -f “*.trm”

find . -name “*.aud” -mtime +0|xargs rm -f “*.aud”

find . -name “*.xml” -mtime +0|xargs rm -f “*.xml”

find . -name “*.dat” -mtime +1|xargs rm -f “*.dat”

Advertisements

Posted in SCRIPTS | Leave a Comment »