Find and list the latest modified files
How to recursively find and list the latest modified files in a directory with subdirectories and times?
find $1 -type f -print0 | xargs -0 stat --format '%Y :%y %n' | sort -nr | cut -d: -f2- | head
Last updated
Was this helpful?