#find . -name *.log* -mtime +90 -exec rm {} \;
but before that get a listing to see what you are about to delete #find . -name *.log.* -mtime +90 -exec ls -tl {} \;
Search and remove is a potentially dangerous command make sure you are in the directory where you are deleting files find . means present directory
Pls make sure that you are using a space between {} and \;
Since you are dealing with special characters again - basically trying to look for all *.log.* files, you need to either use a \ or surround *.log.* with double quotes.....like this:
find . -name "*.log.*" -mtime +90 -exec ls {} \;
OR
find . -name \*.log.\* -mtime +90 -exec ls {} \;
(Make sure you are in the right directory by using pwd command).
Please get back and let us know if that worked....Cheers!
sori cvdev I forgot to include the space as mentioned by hercu. am busy and was rushing with some stuff.. are u in the correct dir? use the wild card either before or aft the word .log and see.. use hercu's syntax.