I want to solve the problem 'list the top 10 most recent files in the current directory over 20MB'.
With ls I can do:
ls -Shal |head
to get top 10 largest files, and:
ls -halt |head
to get top 10 most recent files
With find I can do:
find . -size +20M
To list all files over 20MB in the current directory (and subdirectories, which I don't want).
Is there any way to list the top ten most recent files over a certain size, preferably using ls?
