help me write a find command

At times I have thse Oracle logfiles that grow like crazy and fill up a specific file system. I wanted to write a find command that lists which are the biggest files from the search path..so
/qbidora02/oracledba/find . -name ....... <downward to the lowest level> and list file names, sizes and time stamp. any ideas?
thanks
Jigar

"Oracle logfiles that grow like crazy ......."

Yo!

Your DBA should know where the log files are/will be created....
there should be no finding.....

.......if not there is an issue!!!! :wink:

Now here is the command to find the files that end in "log"
and their listing!!!

find . \( -name "*log" \) -ls;

:smiley:

Happy finding!!

Suresh

Try this.....

find . -type f -name "*log" -ls | sort -rn +6;

This will also sort the results in filesize (descending). And will only include plain files (rather than including directories also).

Can filter further with things such as -user and a number of others....for more detail see the man page for find.