How to list all files under a directory recursively and sort the output by modification time?
April 24, 2012 in answer
ANSWER:
Here is a method using stat as @johnshen64 suggested
find . -type f -exec stat -f "%m%t%Sm %N" '{}' ; | sort -rn | head -20 | cut -f2-

New Comments