Find all files with the extension ".txt" in the current directory and its subdirectories, extract all dates in the format YYYY-MM-DD from the files, sort the dates in descending order and display the most recent date.
find . -type f -name "*.txt" | xargs grep -o -P '\d{4}-\d{2}-\d{2}' | sort -nr | head -n1