Last Updated: April 27, 2019
·
147
· Lars Van Casteren

Needle in a haystack

When you need to find the newest file in a tree:

find . -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "