Removing old files in UNIX

To remove files older than 90 days from the current directory and all sub directories try this:

find . -name "*"  -mtime +90 -exec rm -rf {} \;

If you only want to list how much space each file or folder is using using try:

find . -name "*"  -mtime +90 -exec du -sh {} \;

If you want to search for large log file, try

find . -name "*.log" -exec du -sh {} \;