Skip to content
Advertisement

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

Advertisement

Answer

find . -name '*.dmp' -exec ls -lt {} ;
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement