Posts
read more
How to recursively find the latest modified file in a directory
find . -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "
find . -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "