find /var/log/hostdb/* -type d -mtime +90 -exec rm -rf {} ;

-type d only look at directories, f would be files -mtime +90 modified time greater than 90 days ago