1 2 3 4
#!/bin/bash find $1 -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- | head #this script is slower than recentlymodifiedfilesrec.sh