Search code examples
linuxunixsolaris

Unix: List files with specific ending and show their size and date


I want to use ls -larth but I want to see only files that end with .dmp

find . -name '*.dmp' gives me the results of files, but I cannot see their dates and size. If possible, I would like to have them sorted by date.

Thanks in advance.

Regards, Danijel


Solution

  • find . -name '*.dmp' -exec ls -lt {} \;