Last Updated: April 27, 2019
·
227
· 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" "
Recommend
Say Thanks
Update Notifications Off
Respond